diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2022-11-08 22:09:51 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-11-08 22:16:08 +0100 |
commit | 6426773410fd829c15b59575afe531d66abc7201 (patch) | |
tree | 584e63fc458a5e821d60399f98c67fe734a622b8 /arch/x86/kernel/traps.c | |
parent | d632bf6ff1f6f733e1de9c5331fd643f4ecbe483 (diff) | |
download | lwn-6426773410fd829c15b59575afe531d66abc7201.tar.gz lwn-6426773410fd829c15b59575afe531d66abc7201.zip |
x86: Fix misc small issues
Fix:
./arch/x86/kernel/traps.c: asm/proto.h is included more than once.
./arch/x86/kernel/alternative.c:1610:2-3: Unneeded semicolon.
[ bp: Merge into a single patch. ]
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/1620902768-53822-1-git-send-email-jiapeng.chong@linux.alibaba.com
Link: https://lore.kernel.org/r/20220926054628.116957-1-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'arch/x86/kernel/traps.c')
-rw-r--r-- | arch/x86/kernel/traps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index 178015a820f0..c3bff64ee55e 100644 --- a/arch/x86/kernel/traps.c +++ b/arch/x86/kernel/traps.c @@ -67,13 +67,13 @@ #ifdef CONFIG_X86_64 #include <asm/x86_init.h> -#include <asm/proto.h> #else #include <asm/processor-flags.h> #include <asm/setup.h> -#include <asm/proto.h> #endif +#include <asm/proto.h> + DECLARE_BITMAP(system_vectors, NR_VECTORS); static inline void cond_local_irq_enable(struct pt_regs *regs) |