[haiku-commits] BRANCH xyzzy-github.x86_64 - src/system/boot/platform/bios_ia32

  • From: xyzzy-github.x86_64 <community@xxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 12 Jul 2012 18:49:18 +0200 (CEST)

added 1 changeset to branch 'refs/remotes/xyzzy-github/x86_64'
old head: 8a65fedaaaf8fd4b8ac2819ab81b4a4f47693905
new head: e690e5ab3b4adc583b94a27400b7fd12da80ce51

----------------------------------------------------------------------------

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

                                      [ Alex Smith <alex@xxxxxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Commit:      e690e5ab3b4adc583b94a27400b7fd12da80ce51

Author:      Alex Smith <alex@xxxxxxxxxxxxxxxx>
Date:        Thu Jul 12 16:16:17 2012 UTC

----------------------------------------------------------------------------

2 files changed, 3 insertions(+), 3 deletions(-)
src/system/boot/platform/bios_ia32/smp.cpp |    4 ++--
src/system/boot/platform/bios_ia32/smp.h   |    2 +-

----------------------------------------------------------------------------

diff --git a/src/system/boot/platform/bios_ia32/smp.cpp 
b/src/system/boot/platform/bios_ia32/smp.cpp
index ef95453..d0d2c65 100644
--- a/src/system/boot/platform/bios_ia32/smp.cpp
+++ b/src/system/boot/platform/bios_ia32/smp.cpp
@@ -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;
diff --git a/src/system/boot/platform/bios_ia32/smp.h 
b/src/system/boot/platform/bios_ia32/smp.h
index 2380e63..4acda16 100644
--- a/src/system/boot/platform/bios_ia32/smp.h
+++ b/src/system/boot/platform/bios_ia32/smp.h
@@ -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);
 


Other related posts: