From c4fdb7b923f82e31a687fc01f7176ad05ab51689 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Sat, 10 Aug 2019 15:51:59 +0300 Subject: cpu/x86: Move some SMM function declarations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9a4e57f8fd032f2824eab0e5b59d635710e3e24b Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/34822 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/cpu/x86/lapic/lapic_cpu_init.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/cpu/x86') diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c index cbbc10df31..94f006dc85 100644 --- a/src/cpu/x86/lapic/lapic_cpu_init.c +++ b/src/cpu/x86/lapic/lapic_cpu_init.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -590,14 +591,3 @@ void initialize_cpus(struct bus *cpu_bus) if (is_smp_boot()) recover_lowest_1M(); } - -#if !CONFIG(HAVE_SMI_HANDLER) -/* Empty stubs for platforms without SMI handlers. */ -void smm_init(void) -{ -} - -void smm_init_completion(void) -{ -} -#endif -- cgit v1.2.3