David Hendricks (dhendrix@chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1964
-gerrit
commit 784b42f88d566671656c2f4f8459fdfd34898d60 Author: David Hendricks dhendrix@chromium.org Date: Sat Dec 1 17:31:46 2012 -0800
use regparm attribute for secondary_cpu_init on x86 only
Change-Id: Ib88a9ac0f96f3505894f2baf0e994a203c90c264 Signed-off-by: David Hendricks dhendrix@chromium.org --- src/include/cpu/cpu.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h index e8ea096..0fb100b 100644 --- a/src/include/cpu/cpu.h +++ b/src/include/cpu/cpu.h @@ -7,7 +7,11 @@ void cpu_initialize(unsigned int cpu_index); struct bus; void initialize_cpus(struct bus *cpu_bus); +#ifdef CONFIG_ARCH_X86 void __attribute__((regparm(0))) secondary_cpu_init(unsigned int cpu_index); +#else +void secondary_cpu_init(unsigned int cpu_index); +#endif
#if CONFIG_HAVE_SMI_HANDLER void smm_init(void);