Fixed compilation of the boot loader on GCC 2.

Not sure why but GCC 2 seems to be ignoring the extern "C" in smp.h when
compiling smp_boot_other_cpus() resulting in undefined references. Fixed
by putting extern "C" on the definition too.
This commit is contained in:
Alex Smith
2012-07-12 12:21:09 +01:00
parent 98614a9658
commit 6ba74ba51c
+1 -1
View File
@@ -420,7 +420,7 @@ smp_init_other_cpus(void)
}
void
extern "C" void
smp_boot_other_cpus(void (*entryFunc)())
{
if (gKernelArgs.num_cpus < 2)