aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-11-28 11:42:29 +0100
committerIngo Molnar <mingo@kernel.org>2022-03-15 12:57:35 +0100
commit0fa2f281503a30dbdadde7edd0ed456a5d365074 (patch)
treedb477e6e6761097935c86a7d0e57f469abe243f5 /arch
parent250b771d08668eeb2465aea406a1f5d5b35fce62 (diff)
downloadtip-0fa2f281503a30dbdadde7edd0ed456a5d365074.tar.gz
headers/deps: io: Optimize <asm-generic/io.h> dependencies, remove <linux/vmalloc.h> inclusion
-------------------------------------------------------------------- | Combined, preprocessed C code size of header, without line markers, | with comments stripped: ------------------------- before: | #include <asm-generic/io.h> | LOC: 3,442 | headers: 154 after: | #include <asm-generic/io.h> | LOC: 2,441 | headers: 110 Fix up dangling dependencies. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/amd_nb.h1
-rw-r--r--arch/x86/include/asm/geode.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_nb.h b/arch/x86/include/asm/amd_nb.h
index a23d30333e796e..c872754b2c7cf2 100644
--- a/arch/x86/include/asm/amd_nb.h
+++ b/arch/x86/include/asm/amd_nb.h
@@ -2,6 +2,7 @@
#ifndef _ASM_X86_AMD_NB_H
#define _ASM_X86_AMD_NB_H
+#include <asm/cpufeature.h>
#include <asm/processor_types.h>
#include <linux/ioport.h>
#include <linux/pci.h>
diff --git a/arch/x86/include/asm/geode.h b/arch/x86/include/asm/geode.h
index 3c7267ef4a9e21..e88aeff9362e1e 100644
--- a/arch/x86/include/asm/geode.h
+++ b/arch/x86/include/asm/geode.h
@@ -7,6 +7,7 @@
#ifndef _ASM_X86_GEODE_H
#define _ASM_X86_GEODE_H
+#include <asm/cpufeature.h>
#include <asm/processor.h>
#include <linux/io.h>
#include <linux/cs5535.h>