projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5014396
)
RISC-V: Remove duplicated include in smpboot.c
author
Yang Li
<yang.lee@linux.alibaba.com>
Tue, 31 Oct 2023 00:40:18 +0000
(08:40 +0800)
committer
Palmer Dabbelt
<palmer@rivosinc.com>
Thu, 25 Jan 2024 01:18:19 +0000
(17:18 -0800)
./arch/riscv/kernel/smpboot.c: asm/cpufeature.h is included more than once.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7086
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link:
https://lore.kernel.org/r/20231031004018.45074-1-yang.lee@linux.alibaba.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/smpboot.c
patch
|
blob
|
history
diff --git
a/arch/riscv/kernel/smpboot.c
b/arch/riscv/kernel/smpboot.c
index 519b6bd946e5d1b69edf3379e31b345e38a03deb..cfbe4b840d422d5735ad7ebcd89f2e8efd8dc0a4 100644
(file)
--- a/
arch/riscv/kernel/smpboot.c
+++ b/
arch/riscv/kernel/smpboot.c
@@
-28,7
+28,6
@@
#include <asm/cpufeature.h>
#include <asm/cpu_ops.h>
-#include <asm/cpufeature.h>
#include <asm/irq.h>
#include <asm/mmu_context.h>
#include <asm/numa.h>