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


Groups > linux.kernel > #1594847

[PATCHv3 11/16] module: Use set_memory.h header

From Laura Abbott <labbott@redhat.com>
Newsgroups linux.kernel
Subject [PATCHv3 11/16] module: Use set_memory.h header
Date 2017-03-08 05:40 +0100
Message-ID <tiByh-1ee-5@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: Jessica Yu <jeyu@redhat.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
---
v3: #ifdef protection
---
 kernel/module.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/kernel/module.c b/kernel/module.c
index 7eba6de..992a100 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -49,6 +49,9 @@
 #include <linux/rculist.h>
 #include <linux/uaccess.h>
 #include <asm/cacheflush.h>
+#ifdef CONFIG_STRICT_MODULE_RWX
+#include <asm/set_memory.h>
+#endif
 #include <asm/mmu_context.h>
 #include <linux/license.h>
 #include <asm/sections.h>
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious 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