提交 d1163651 编写于 作者: L Laura Abbott 提交者: Linus Torvalds

x86: use set_memory.h header

set_memory_* functions have moved to set_memory.h.  Switch to this
explicitly.

Link: http://lkml.kernel.org/r/1488920133-27229-6-git-send-email-labbott@redhat.comSigned-off-by: NLaura Abbott <labbott@redhat.com>
Acked-by: NIngo Molnar <mingo@kernel.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 e6c7c630
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include <asm/proto.h> #include <asm/proto.h>
#include <asm/iommu.h> #include <asm/iommu.h>
#include <asm/gart.h> #include <asm/gart.h>
#include <asm/cacheflush.h> #include <asm/set_memory.h>
#include <asm/swiotlb.h> #include <asm/swiotlb.h>
#include <asm/dma.h> #include <asm/dma.h>
#include <asm/amd_nb.h> #include <asm/amd_nb.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#ifdef CONFIG_X86_64 #ifdef CONFIG_X86_64
# include <asm/mmconfig.h> # include <asm/mmconfig.h>
# include <asm/cacheflush.h> # include <asm/set_memory.h>
#endif #endif
#include "cpu.h" #include "cpu.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <asm/paravirt.h> #include <asm/paravirt.h>
#include <asm/alternative.h> #include <asm/alternative.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/cacheflush.h> #include <asm/set_memory.h>
void __init check_bugs(void) void __init check_bugs(void)
{ {
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <trace/syscall.h> #include <trace/syscall.h>
#include <asm/cacheflush.h> #include <asm/set_memory.h>
#include <asm/kprobes.h> #include <asm/kprobes.h>
#include <asm/ftrace.h> #include <asm/ftrace.h>
#include <asm/nops.h> #include <asm/nops.h>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <asm/io_apic.h> #include <asm/io_apic.h>
#include <asm/cpufeature.h> #include <asm/cpufeature.h>
#include <asm/desc.h> #include <asm/desc.h>
#include <asm/cacheflush.h> #include <asm/set_memory.h>
#include <asm/debugreg.h> #include <asm/debugreg.h>
static void set_idt(void *newidt, __u16 limit) static void set_idt(void *newidt, __u16 limit)
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <asm/debugreg.h> #include <asm/debugreg.h>
#include <asm/kexec-bzimage64.h> #include <asm/kexec-bzimage64.h>
#include <asm/setup.h> #include <asm/setup.h>
#include <asm/set_memory.h>
#ifdef CONFIG_KEXEC_FILE #ifdef CONFIG_KEXEC_FILE
static struct kexec_file_ops *kexec_file_loaders[] = { static struct kexec_file_ops *kexec_file_loaders[] = {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <linux/memblock.h> #include <linux/memblock.h>
#include <linux/bootmem.h> /* for max_low_pfn */ #include <linux/bootmem.h> /* for max_low_pfn */
#include <asm/cacheflush.h> #include <asm/set_memory.h>
#include <asm/e820/api.h> #include <asm/e820/api.h>
#include <asm/init.h> #include <asm/init.h>
#include <asm/page.h> #include <asm/page.h>
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#include <asm/sections.h> #include <asm/sections.h>
#include <asm/paravirt.h> #include <asm/paravirt.h>
#include <asm/setup.h> #include <asm/setup.h>
#include <asm/cacheflush.h> #include <asm/set_memory.h>
#include <asm/page_types.h> #include <asm/page_types.h>
#include <asm/init.h> #include <asm/init.h>
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
#include <asm/sections.h> #include <asm/sections.h>
#include <asm/kdebug.h> #include <asm/kdebug.h>
#include <asm/numa.h> #include <asm/numa.h>
#include <asm/cacheflush.h> #include <asm/set_memory.h>
#include <asm/init.h> #include <asm/init.h>
#include <asm/uv/uv.h> #include <asm/uv/uv.h>
#include <asm/setup.h> #include <asm/setup.h>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/mmiotrace.h> #include <linux/mmiotrace.h>
#include <asm/cacheflush.h> #include <asm/set_memory.h>
#include <asm/e820/api.h> #include <asm/e820/api.h>
#include <asm/fixmap.h> #include <asm/fixmap.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <asm/pgalloc.h> #include <asm/pgalloc.h>
#include <asm/proto.h> #include <asm/proto.h>
#include <asm/pat.h> #include <asm/pat.h>
#include <asm/set_memory.h>
/* /*
* The current flushing context - we pass it instead of 5 arguments: * The current flushing context - we pass it instead of 5 arguments:
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <linux/filter.h> #include <linux/filter.h>
#include <linux/if_vlan.h> #include <linux/if_vlan.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include <asm/set_memory.h>
#include <linux/bpf.h> #include <linux/bpf.h>
int bpf_jit_enable __read_mostly; int bpf_jit_enable __read_mostly;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <asm/pci_x86.h> #include <asm/pci_x86.h>
#include <asm/e820/types.h> #include <asm/e820/types.h>
#include <asm/pci-functions.h> #include <asm/pci-functions.h>
#include <asm/cacheflush.h> #include <asm/set_memory.h>
/* BIOS32 signature: "_32_" */ /* BIOS32 signature: "_32_" */
#define BIOS32_SIGNATURE (('_' << 0) + ('3' << 8) + ('2' << 16) + ('_' << 24)) #define BIOS32_SIGNATURE (('_' << 0) + ('3' << 8) + ('2' << 16) + ('_' << 24))
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
#include <asm/efi.h> #include <asm/efi.h>
#include <asm/e820/api.h> #include <asm/e820/api.h>
#include <asm/time.h> #include <asm/time.h>
#include <asm/cacheflush.h> #include <asm/set_memory.h>
#include <asm/tlbflush.h> #include <asm/tlbflush.h>
#include <asm/x86_init.h> #include <asm/x86_init.h>
#include <asm/uv/uv.h> #include <asm/uv/uv.h>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/memblock.h> #include <linux/memblock.h>
#include <asm/cacheflush.h> #include <asm/set_memory.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/realmode.h> #include <asm/realmode.h>
#include <asm/tlbflush.h> #include <asm/tlbflush.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册