From c36fa6433e04f9a6fcb51921de743625e5068ce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 23 Nov 2016 00:54:19 +0200 Subject: x86 BIST: Declare function with inline in header file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ieb5f1668a715ceadd5fe5ba0d121c865f1886038 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/17572 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/include/cpu/x86/bist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3