Skip to content

Commit 3009420

Browse files
author
Kent Overstreet
committed
Kill unnecessary kernel.h include
More trimming down unnecessary includes. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent 2b010a6 commit 3009420

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

arch/x86/include/asm/current.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#ifndef _ASM_X86_CURRENT_H
33
#define _ASM_X86_CURRENT_H
44

5+
#include <linux/build_bug.h>
56
#include <linux/compiler.h>
67

78
#ifndef __ASSEMBLY__

arch/x86/include/asm/percpu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424

2525
#else /* ...!ASSEMBLY */
2626

27-
#include <linux/kernel.h>
2827
#include <linux/stringify.h>
28+
#include <asm/asm.h>
2929

3030
#ifdef CONFIG_SMP
3131
#define __percpu_prefix "%%"__stringify(__percpu_seg)":"

0 commit comments

Comments
 (0)