From 5a5c886b8d7b191f6d2842af84e3dcfa3e3a6e39 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Sun, 26 Jan 2014 14:41:54 +0200 Subject: SMP: Add arch-agnostic boot_cpu() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We should not have x86 specific includes in lib/. Change-Id: I18fa9c8017d65c166ffd465038d71f35b30d6f3d Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/5156 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks Reviewed-by: Aaron Durbin --- src/include/cpu/x86/lapic.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/include/cpu/x86/lapic.h') diff --git a/src/include/cpu/x86/lapic.h b/src/include/cpu/x86/lapic.h index 96b5891918..3d5046ee91 100644 --- a/src/include/cpu/x86/lapic.h +++ b/src/include/cpu/x86/lapic.h @@ -4,6 +4,7 @@ #include #include #include +#include /* See if I need to initialize the local apic */ #if CONFIG_SMP || CONFIG_IOAPIC @@ -153,10 +154,4 @@ int start_cpu(struct device *cpu); #endif /* !__PRE_RAM__ */ -#if CONFIG_SMP -int boot_cpu(void); -#else -#define boot_cpu(x) 1 -#endif - #endif /* CPU_X86_LAPIC_H */ -- cgit v1.2.3