[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1541580877-45723-4-git-send-email-wang.yi59@zte.com.cn>
Date: Wed, 7 Nov 2018 16:54:37 +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 3/3] x86/cpu: fix prototype warning in topology.c
Missing include file causes warning:
arch/x86/kernel/cpu/topology.c:25:5: warning: no previous prototype for ‘detect_extended_topology_early’ [-Wmissing-prototypes]
arch/x86/kernel/cpu/topology.c:57:5: warning: no previous prototype for ‘detect_extended_topology’ [-Wmissing-prototypes]
Signed-off-by: Yi Wang <wang.yi59@....com.cn>
---
arch/x86/kernel/cpu/topology.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/kernel/cpu/topology.c b/arch/x86/kernel/cpu/topology.c
index 71ca064..8f6c784 100644
--- a/arch/x86/kernel/cpu/topology.c
+++ b/arch/x86/kernel/cpu/topology.c
@@ -10,6 +10,8 @@
#include <asm/pat.h>
#include <asm/processor.h>
+#include "cpu.h"
+
/* leaf 0xb SMT level */
#define SMT_LEVEL 0
--
1.8.3.1
Powered by blists - more mailing lists