summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-10 13:09:34 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-11 21:03:37 +0000
commitb16fda22a423c8315e2347fe4ec8e2ef897fc359 (patch)
treefa6f8be771b0da9d9012f3d9cbedb1c44865572e /src/cpu
parente211b9ed59bca44e51b4fa12be03f9393b444b89 (diff)
downloadcoreboot-b16fda22a423c8315e2347fe4ec8e2ef897fc359.tar.xz
cpu/x86: Declare smi_release_lock() static
Change-Id: I535ff1b16b1fa7c3c8c14b2be7eac32568f16077 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34194 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/x86/smm/smihandler.c2
1 files changed, 1 insertions, 1 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"