aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-06-20 10:38:04 +0200
committerIngo Molnar <mingo@kernel.org>2022-03-15 12:56:54 +0100
commit78e8eeb14f14e44c47f76da184a1ffb9b69192cf (patch)
tree73bd07777d56996e019031def893baab4ab881ae /arch
parentd5b114f63b24b8460fb4b6719d633a40c6c07ad6 (diff)
downloadtip-78e8eeb14f14e44c47f76da184a1ffb9b69192cf.tar.gz
headers/deps: x86/mm: Optimize <asm/pgtable_types.h> header dependencies
There's a couple of unrelated includes in this file, remove them: -------------------------------------------------------------------- | Combined, preprocessed C code size of header, without line markers, | with comments stripped: ------------------------- before: | #include <asm/pgtable_types.h> | LOC: 812 | headers: 56 | after: | #include <asm/pgtable_types.h> | LOC: 369 | headers: 30 | Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/pgtable_types.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/include/asm/pgtable_types.h b/arch/x86/include/asm/pgtable_types.h
index 0fbd6c05e29d35..888170836f8942 100644
--- a/arch/x86/include/asm/pgtable_types.h
+++ b/arch/x86/include/asm/pgtable_types.h
@@ -2,9 +2,6 @@
#ifndef _ASM_X86_PGTABLE_DEFS_H
#define _ASM_X86_PGTABLE_DEFS_H
-#include <linux/const.h>
-#include <linux/mem_encrypt.h>
-
#include <asm/page_types.h>
#define _PAGE_BIT_PRESENT 0 /* is present */