From 515a1c9357361052cd3ba04c779bb853cfb37b39 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: [PATCH] UPSTREAM: x86 BIST: Declare function with inline in header file BUG=None BRANCH=None TEST=None Signed-off-by: Kysti Mlkki Reviewed-on: https://review.coreboot.org/17572 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Change-Id: Ieb5f1668a715ceadd5fe5ba0d121c865f1886038 Reviewed-on: https://chromium-review.googlesource.com/415069 Commit-Ready: Aaron Durbin Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- 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);