Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1594712

[PATCHv3 02/16] arm: Use set_memory.h header

From Laura Abbott <labbott@redhat.com>
Newsgroups linux.kernel
Subject [PATCHv3 02/16] arm: Use set_memory.h header
Date 2017-03-08 00:00 +0100
Message-ID <tiwfg-5T2-11@gated-at.bofh.it> (permalink)
References <tiun8-4vP-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Laura Abbott <labbott@redhat.com>
---
v3: Add one file, keep the cacheflush.h header in bpf
---
 arch/arm/kernel/ftrace.c        | 1 +
 arch/arm/kernel/machine_kexec.c | 1 +
 arch/arm/mm/pageattr.c          | 1 +
 arch/arm/net/bpf_jit_32.c       | 1 +
 4 files changed, 4 insertions(+)

diff --git a/arch/arm/kernel/ftrace.c b/arch/arm/kernel/ftrace.c
index 3f17594..dea3e96 100644
--- a/arch/arm/kernel/ftrace.c
+++ b/arch/arm/kernel/ftrace.c
@@ -21,6 +21,7 @@
 #include <asm/opcodes.h>
 #include <asm/ftrace.h>
 #include <asm/insn.h>
+#include <asm/set_memory.h>
 
 #ifdef CONFIG_THUMB2_KERNEL
 #define	NOP		0xf85deb04	/* pop.w {lr} */
diff --git a/arch/arm/kernel/machine_kexec.c b/arch/arm/kernel/machine_kexec.c
index b18c1ea..1549588 100644
--- a/arch/arm/kernel/machine_kexec.c
+++ b/arch/arm/kernel/machine_kexec.c
@@ -18,6 +18,7 @@
 #include <asm/mach-types.h>
 #include <asm/smp_plat.h>
 #include <asm/system_misc.h>
+#include <asm/set_memory.h>
 
 extern void relocate_new_kernel(void);
 extern const unsigned int relocate_new_kernel_size;
diff --git a/arch/arm/mm/pageattr.c b/arch/arm/mm/pageattr.c
index 3b69f26..1403cb4 100644
--- a/arch/arm/mm/pageattr.c
+++ b/arch/arm/mm/pageattr.c
@@ -15,6 +15,7 @@
 
 #include <asm/pgtable.h>
 #include <asm/tlbflush.h>
+#include <asm/set_memory.h>
 
 struct page_change_data {
 	pgprot_t set_mask;
diff --git a/arch/arm/net/bpf_jit_32.c b/arch/arm/net/bpf_jit_32.c
index 93d0b6d..d5b9fa1 100644
--- a/arch/arm/net/bpf_jit_32.c
+++ b/arch/arm/net/bpf_jit_32.c
@@ -18,6 +18,7 @@
 #include <linux/if_vlan.h>
 
 #include <asm/cacheflush.h>
+#include <asm/set_memory.h>
 #include <asm/hwcap.h>
 #include <asm/opcodes.h>
 
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCHv3 00/16] set_memory_* functions header refactor Laura Abbott <labbott@redhat.com> - 2017-03-07 22:30 +0100
  [PATCHv3 07/16] drm: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 22:30 +0100
  [PATCHv3 05/16] x86: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 22:30 +0100
  [PATCHv3 08/16] intel_th: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 23:00 +0100
  [PATCHv3 13/16] ALSA: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 23:00 +0100
  [PATCHv3 10/16] bpf: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 23:00 +0100
  [PATCHv3 03/16] arm64: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 23:10 +0100
  [PATCHv3 04/16] s390: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 23:40 +0100
  [PATCHv3 02/16] arm: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-08 00:00 +0100
  [PATCHv3 09/16] watchdog: hpwdt: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-08 00:00 +0100
  [PATCHv3 06/16] agp: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-08 00:50 +0100
  [PATCHv3 12/16] PM / hibernate: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-08 01:00 +0100
  [PATCHv3 14/16] misc: sram: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-08 01:20 +0100
  [PATCHv3 01/16] treewide: Move set_memory_* functions away from cacheflush.h Laura Abbott <labbott@redhat.com> - 2017-03-08 02:10 +0100
  [PATCHv3 11/16] module: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-08 05:40 +0100

csiph-web