summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2015-11-28 12:17:32 +0100
committerPatrick Georgi <pgeorgi@google.com>2015-11-29 13:06:04 +0100
commit2ca8b31ff54dd69a39e3c222f4512f46010507e3 (patch)
tree2c7cfaac4658320d606a73a36179518a305824cd /src/include
parent551b3830c66bfa1241d84f7ef9f89e8408231a00 (diff)
x86/smm: don't hide harmless declarations
Hiding them requires #if CONFIG_HAVE_SMI_HANDLER instead of if (IS_ENABLED(CONFIG_HAVE_SMI_HANDLER)) Change-Id: Ib874cd98e195ad7437d05be1696004b29bf97a66 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: https://review.coreboot.org/12565 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h
index 28431c02b3..8db8085039 100644
--- a/src/include/cpu/cpu.h
+++ b/src/include/cpu/cpu.h
@@ -9,11 +9,9 @@ struct bus;
void initialize_cpus(struct bus *cpu_bus);
void asmlinkage secondary_cpu_init(unsigned int cpu_index);
-#if CONFIG_HAVE_SMI_HANDLER
void smm_init(void);
void smm_lock(void);
void smm_setup_structures(void *gnvs, void *tcg, void *smi1);
-#endif
#define __cpu_driver __attribute__ ((used,__section__(".rodata.cpu_driver")))
#ifndef __SIMPLE_DEVICE__