Allow using an APIC without mptable.
authorStefan Reinauer <stepan@openbios.org>
Mon, 26 Jan 2004 10:16:59 +0000 (10:16 +0000)
committerStefan Reinauer <stepan@openbios.org>
Mon, 26 Jan 2004 10:16:59 +0000 (10:16 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1355 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/arch/i386/include/arch/smp/mpspec.h

index e780593df60378a3b9ff18466f4a17a2091250e0..66232c921dba755a3b9cb89a0b39718008f107f6 100644 (file)
@@ -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