summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cpu/x86/smm/smihandler.c2
-rw-r--r--src/include/cpu/x86/smm.h4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/cpu/x86/smm/smihandler.c b/src/cpu/x86/smm/smihandler.c
index 0ffa46537c..bc01522291 100644
--- a/src/cpu/x86/smm/smihandler.c
+++ b/src/cpu/x86/smm/smihandler.c
@@ -47,7 +47,7 @@ static int smi_obtain_lock(void)
return (ret == SMI_UNLOCKED);
}
-void smi_release_lock(void)
+static void smi_release_lock(void)
{
asm volatile (
"movb %1, %%al\n"
diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h
index ffcc2a1958..3071106080 100644
--- a/src/include/cpu/x86/smm.h
+++ b/src/include/cpu/x86/smm.h
@@ -501,10 +501,6 @@ void mainboard_smi_gpi(u32 gpi_sts);
int mainboard_smi_apmc(u8 data);
void mainboard_smi_sleep(u8 slp_typ);
-#if !CONFIG(SMM_TSEG)
-void smi_release_lock(void);
-#endif
-
/* This is the SMM handler. */
extern unsigned char _binary_smm_start[];
extern unsigned char _binary_smm_end[];