]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/include/asm/apicdef.h
irq: initialize nr_irqs based on nr_cpu_ids
[linux-2.6-omap-h63xx.git] / arch / x86 / include / asm / apicdef.h
index 63134e31e8b933acb973ee2e66f62a2f815bb326..1a6454ef7f6c655f4c04c55426163c1c68173f34 100644 (file)
 #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
+/* get MAX_IO_APICS */
+#include <asm/apicnum.h>
 
 /*
  * All x86-64 systems are xAPIC compatible.