* [PATCH] x86/smpboot: remove duplicate include in smpboot.c
@ 2021-03-06 6:56 menglong8.dong
2021-03-06 11:18 ` Borislav Petkov
0 siblings, 1 reply; 2+ messages in thread
From: menglong8.dong @ 2021-03-06 6:56 UTC (permalink / raw)
To: tglx
Cc: mingo, bp, x86, hpa, peterz, ggherdovich, rafael.j.wysocki, rppt,
nathan.fontenot, ashok.raj, brgerst, linux-kernel, Zhang Yunkai
From: Zhang Yunkai <zhang.yunkai@zte.com.cn>
'cpu_device_id.h' and 'intel_family.h' included in 'smpboot.c'
is duplicated. It is also included in the 80th line.
Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
---
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 02813a7f3a7c..ec4bf691fe28 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -1865,9 +1865,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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] x86/smpboot: remove duplicate include in smpboot.c
2021-03-06 6:56 [PATCH] x86/smpboot: remove duplicate include in smpboot.c menglong8.dong
@ 2021-03-06 11:18 ` Borislav Petkov
0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2021-03-06 11:18 UTC (permalink / raw)
To: menglong8.dong
Cc: tglx, mingo, x86, hpa, peterz, ggherdovich, rafael.j.wysocki,
rppt, nathan.fontenot, ashok.raj, brgerst, linux-kernel,
Zhang Yunkai
On Fri, Mar 05, 2021 at 10:56:10PM -0800, menglong8.dong@gmail.com wrote:
> From: Zhang Yunkai <zhang.yunkai@zte.com.cn>
>
> 'cpu_device_id.h' and 'intel_family.h' included in 'smpboot.c'
> is duplicated. It is also included in the 80th line.
>
> Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
If you send another person's patch, then your SOB needs to follow his/hers:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin
Also, merge those two x86 patches removing includes into one please.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-06 11:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-06 6:56 [PATCH] x86/smpboot: remove duplicate include in smpboot.c menglong8.dong
2021-03-06 11:18 ` Borislav Petkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox