[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210427063835.9039-1-wanjiabing@vivo.com>
Date: Tue, 27 Apr 2021 14:38:26 +0800
From: Wan Jiabing <wanjiabing@...o.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
x86@...nel.org, "H. Peter Anvin" <hpa@...or.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Giovanni Gherdovich <ggherdovich@...e.cz>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Mike Rapoport <rppt@...nel.org>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Nathan Fontenot <nathan.fontenot@....com>,
Ashok Raj <ashok.raj@...el.com>,
Brian Gerst <brgerst@...il.com>, linux-kernel@...r.kernel.org
Cc: kael_w@...h.net, Wan Jiabing <wanjiabing@...o.com>
Subject: [PATCH] x86/smpboot: Remove duplicate includes
asm/intel-family.h is included at line 80.
asm/cpu_device_id.h is included at line 81.
Remove duplicate includes here.
Signed-off-by: Wan Jiabing <wanjiabing@...o.com>
---
arch/x86/kernel/smpboot.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 1e2050c4f94a..c1c1bd1ab921 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -1863,9 +1863,6 @@ static bool slv_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq)
return true;
}
-#include <asm/cpu_device_id.h>
-#include <asm/intel-family.h>
-
#define X86_MATCH(model) \
X86_MATCH_VENDOR_FAM_MODEL_FEATURE(INTEL, 6, \
INTEL_FAM6_##model, X86_FEATURE_APERFMPERF, NULL)
--
2.25.1
Powered by blists - more mailing lists