[coreboot] New patch to review for coreboot: 784b42f use regparm attribute for secondary_cpu_init on x86 only

David Hendricks (dhendrix@chromium.org) gerrit at coreboot.org
Sun Dec 2 02:36:09 CET 2012

David Hendricks (dhendrix at chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1964


commit 784b42f88d566671656c2f4f8459fdfd34898d60
Author: David Hendricks <dhendrix at 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 at 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);
+void secondary_cpu_init(unsigned int cpu_index);
 void smm_init(void);

More information about the coreboot mailing list