Proper fix for GCC 2 compilation error that was fixed earlier, cause pointed out by Ingo.
This commit is contained in:
@@ -420,8 +420,8 @@ smp_init_other_cpus(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern "C" void
|
void
|
||||||
smp_boot_other_cpus(void (*entryFunc)())
|
smp_boot_other_cpus(void (*entryFunc)(void))
|
||||||
{
|
{
|
||||||
if (gKernelArgs.num_cpus < 2)
|
if (gKernelArgs.num_cpus < 2)
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ extern "C" {
|
|||||||
|
|
||||||
extern void smp_init(void);
|
extern void smp_init(void);
|
||||||
extern void smp_init_other_cpus(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);
|
extern int smp_get_current_cpu(void);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user