summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/apicnum.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/apicnum.h')
-rw-r--r--arch/x86/include/asm/apicnum.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/include/asm/apicnum.h b/arch/x86/include/asm/apicnum.h
new file mode 100644
index 000000000000..82f613c607ce
--- /dev/null
+++ b/arch/x86/include/asm/apicnum.h
@@ -0,0 +1,12 @@
+#ifndef _ASM_X86_APICNUM_H
+#define _ASM_X86_APICNUM_H
+
+/* define MAX_IO_APICS */
+#ifdef CONFIG_X86_32
+# define MAX_IO_APICS 64
+#else
+# define MAX_IO_APICS 128
+# define MAX_LOCAL_APIC 32768
+#endif
+
+#endif /* _ASM_X86_APICNUM_H */