diff options
author | Keir Fraser <keir@xen.org> | 2010-12-15 11:52:14 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-12-15 11:52:14 +0000 |
commit | 06e127fc275cd524a0f1dc8e2fa974de46619c10 (patch) | |
tree | 5e977d91b0ef7c0c7262b56ead3e643db217a8fb /xen/common/sched_sedf.c | |
parent | bc14e5d1e010afad8b8b93ec462088e1d271ce8e (diff) | |
download | xen-06e127fc275cd524a0f1dc8e2fa974de46619c10.tar.gz xen-06e127fc275cd524a0f1dc8e2fa974de46619c10.tar.bz2 xen-06e127fc275cd524a0f1dc8e2fa974de46619c10.zip |
x86: mpparse and cstate need to use 32bit apic id
Instead of going with mpc_config_processor struct.
that field ony have 8 bits.
We should not change that struct, because it is shared with mptable.
Also need to increase MAX_APICS.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Rather than using a fixed value of 512, make this scale with NR_CPUS
(which obviously still doesn't cover all theoretically possible
systems, but at least allows some build time control).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/common/sched_sedf.c')
-rw-r--r-- | xen/common/sched_sedf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xen/common/sched_sedf.c b/xen/common/sched_sedf.c index 7dde35b912..4d95753a9e 100644 --- a/xen/common/sched_sedf.c +++ b/xen/common/sched_sedf.c @@ -127,7 +127,6 @@ struct sedf_cpu_info { #define PERIOD_BEGIN(inf) ((inf)->deadl_abs - (inf)->period) -#define MIN(x,y) (((x)<(y))?(x):(y)) #define DIV_UP(x,y) (((x) + (y) - 1) / y) #define extra_runs(inf) ((inf->status) & 6) |