[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1541580877-45723-2-git-send-email-wang.yi59@zte.com.cn>
Date: Wed, 7 Nov 2018 16:54:35 +0800
From: Yi Wang <wang.yi59@....com.cn>
To: tglx@...utronix.de
Cc: mingo@...hat.com, bp@...en8.de, hpa@...or.com, x86@...nel.org,
suravee.suthikulpanit@....com, puwen@...on.cn,
davidwang@...oxin.com, wang.yi59@....com.cn,
linux-kernel@...r.kernel.org, dwmw@...zon.co.uk,
gregkh@...uxfoundation.org, thomas.lendacky@....com,
fenghua.yu@...el.com, pbonzini@...hat.com, konrad.wilk@...cle.com,
zhong.weidong@....com.cn
Subject: [PATCH 1/3] x86/cpu: fix prototype warning in cacheinfo.c
Missing include file causes warning:
arch/x86/kernel/cpu/cacheinfo.c:647:6: warning: no previous prototype for ‘cacheinfo_amd_init_llc_id’ [-Wmissing-prototypes]
arch/x86/kernel/cpu/cacheinfo.c:686:6: warning: no previous prototype for ‘cacheinfo_hygon_init_llc_id’ [-Wmissing-prototypes]
Signed-off-by: Yi Wang <wang.yi59@....com.cn>
---
arch/x86/kernel/cpu/cacheinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/cpu/cacheinfo.c b/arch/x86/kernel/cpu/cacheinfo.c
index dc1b934..5bafd93 100644
--- a/arch/x86/kernel/cpu/cacheinfo.c
+++ b/arch/x86/kernel/cpu/cacheinfo.c
@@ -19,6 +19,7 @@
#include <asm/cpufeature.h>
#include <asm/amd_nb.h>
#include <asm/smp.h>
+#include <asm/cacheinfo.h>
#include "cpu.h"
--
1.8.3.1
Powered by blists - more mailing lists