Proper fix for GCC 2 compilation error that was fixed earlier, cause pointed out by Ingo.

This commit is contained in:
Alex Smith 2012-07-12 17:16:17 +01:00
parent 8a65fedaaa
commit e690e5ab3b
2 changed files with 3 additions and 3 deletions

View File

@ -420,8 +420,8 @@ smp_init_other_cpus(void)
}
extern "C" void
smp_boot_other_cpus(void (*entryFunc)())
void
smp_boot_other_cpus(void (*entryFunc)(void))
{
if (gKernelArgs.num_cpus < 2)
return;

View File

@ -19,7 +19,7 @@ extern "C" {
extern void smp_init(void);
extern void smp_init_other_cpus(void);
extern void smp_boot_other_cpus(void (*entryFunc)());
extern void smp_boot_other_cpus(void (*entryFunc)(void));
extern int smp_get_current_cpu(void);