From 82ecf4c582fdab341d88bd80ae3e9a629619c263 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 15 Nov 2012 15:53:30 -0800 Subject: secondary.S: Fix dropping ramstage.a This unused code was not silently dropped as before. Change-Id: Ic76c58e233869a60c3a8a27c2efc2182b3a4442d Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/1863 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/cpu/x86/lapic/secondary.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cpu/x86/lapic') diff --git a/src/cpu/x86/lapic/secondary.S b/src/cpu/x86/lapic/secondary.S index 045454e2ed..2e0620e2da 100644 --- a/src/cpu/x86/lapic/secondary.S +++ b/src/cpu/x86/lapic/secondary.S @@ -1,6 +1,7 @@ #include #include +#if CONFIG_SMP && CONFIG_MAX_CPUS > 1 .text .globl _secondary_start, _secondary_start_end .balign 4096 @@ -62,3 +63,4 @@ __ap_protected_start: jmp 1b .code32 +#endif -- cgit v1.2.3