summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin J. Bligh <martin.bligh@us.ibm.com>2002-10-15 05:37:57 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-15 05:37:57 -0700
commitf0175f7fa5d8bad9567f4bbbac37aa34a0bbe408 (patch)
tree5b9897dd4ac94428a3ab6b27d702d882898f3402 /include
parent603a61b56832c3c70595eed5750ca75fcbf15a7a (diff)
[PATCH] Summit: APIC limits
This one sets up the apic broadcast id (the maximum allowable apic address) properly for whichever platform. It also abstracts out check_apicid_used, because that check doesn't work on Summit. Oh, and I bumped up MAX_IO_APICS, but only for NUMA x86 platforms.
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/apicdef.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-i386/apicdef.h b/include/asm-i386/apicdef.h
index be81838ef1e9..4aac5f72e9ed 100644
--- a/include/asm-i386/apicdef.h
+++ b/include/asm-i386/apicdef.h
@@ -110,7 +110,11 @@
#define APIC_BASE (fix_to_virt(FIX_APIC_BASE))
-#define MAX_IO_APICS 8
+#ifdef CONFIG_X86_NUMA
+ #define MAX_IO_APICS 32
+#else
+ #define MAX_IO_APICS 8
+#endif
/*
* the local APIC register structure, memory mapped. Not terribly well