[PATCH] x86: include apicnum.h in acpidef.h

From: Yinghai Lu
Date: Mon Jan 12 2009 - 00:43:00 EST



Impact: clean up

it seems Ingo revert it wrongly.
put it back again

Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>

---
arch/x86/include/asm/apicdef.h | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)

Index: linux-2.6/arch/x86/include/asm/apicdef.h
===================================================================
--- linux-2.6.orig/arch/x86/include/asm/apicdef.h
+++ linux-2.6/arch/x86/include/asm/apicdef.h
@@ -132,12 +132,7 @@
#define APIC_BASE_MSR 0x800
#define X2APIC_ENABLE (1UL << 10)

-#ifdef CONFIG_X86_32
-# define MAX_IO_APICS 64
-#else
-# define MAX_IO_APICS 128
-# define MAX_LOCAL_APIC 32768
-#endif
+#include <asm/apicnum.h>

/*
* All x86-64 systems are xAPIC compatible.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/