summaryrefslogtreecommitdiff
path: root/src/arch/i386/include
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2004-01-26 10:16:59 +0000
committerStefan Reinauer <stepan@openbios.org>2004-01-26 10:16:59 +0000
commit36fdcb8e2bd1e815b385ead72bd936458eae0d7b (patch)
tree8a58d27ae69c0be41a005c329e844c8cc46addb8 /src/arch/i386/include
parent5a8d4ae27cbcc7b6de3cd54770d51ffa6707dd6e (diff)
downloadcoreboot-36fdcb8e2bd1e815b385ead72bd936458eae0d7b.tar.xz
Allow using an APIC without mptable.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1355 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/include')
-rw-r--r--src/arch/i386/include/arch/smp/mpspec.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/i386/include/arch/smp/mpspec.h b/src/arch/i386/include/arch/smp/mpspec.h
index e780593df6..66232c921d 100644
--- a/src/arch/i386/include/arch/smp/mpspec.h
+++ b/src/arch/i386/include/arch/smp/mpspec.h
@@ -267,9 +267,6 @@ unsigned char smp_compute_checksum(void *v, int len);
void *smp_write_floating_table(unsigned long addr);
unsigned long write_smp_table(unsigned long addr, unsigned long *processor_map);
-/* A table (per mainboard) listing the initial apicid of each cpu. */
-extern unsigned long initial_apicid[CONFIG_MAX_CPUS];
-
#else /* HAVE_MP_TABLE */
static inline
unsigned long write_smp_table(unsigned long addr, unsigned long *processor_map)
@@ -278,5 +275,8 @@ unsigned long write_smp_table(unsigned long addr, unsigned long *processor_map)
}
#endif /* HAVE_MP_TABLE */
+/* A table (per mainboard) listing the initial apicid of each cpu. */
+extern unsigned long initial_apicid[CONFIG_MAX_CPUS];
+
#endif