summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2016-11-23 00:54:19 +0200
committerNico Huber <nico.h@gmx.de>2016-11-24 00:53:56 +0100
commitc36fa6433e04f9a6fcb51921de743625e5068ce7 (patch)
tree84e79b76673bc187988a9b9132b222a942788cb8
parentba1730b181ed1392d9c6b7ada7ab3bc35b68ffbd (diff)
downloadcoreboot-c36fa6433e04f9a6fcb51921de743625e5068ce7.tar.xz
x86 BIST: Declare function with inline in header file
Change-Id: Ieb5f1668a715ceadd5fe5ba0d121c865f1886038 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/17572 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/include/cpu/x86/bist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/cpu/x86/bist.h b/src/include/cpu/x86/bist.h
index 24d402545f..ed40ded686 100644
--- a/src/include/cpu/x86/bist.h
+++ b/src/include/cpu/x86/bist.h
@@ -1,7 +1,7 @@
#ifndef CPU_X86_BIST_H
#define CPU_X86_BIST_H
-static void report_bist_failure(u32 bist)
+static inline void report_bist_failure(u32 bist)
{
if (bist != 0) {
printk(BIOS_EMERG, "BIST failed: %08x", bist);