[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1488920133-27229-12-git-send-email-labbott@redhat.com>
Date: Tue, 7 Mar 2017 12:55:28 -0800
From: Laura Abbott <labbott@...hat.com>
To: Jessica Yu <jeyu@...hat.com>
Cc: Laura Abbott <labbott@...hat.com>,
Russell King <linux@...linux.org.uk>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
Heiko Carstens <heiko.carstens@...ibm.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
Kees Cook <keescook@...omium.org>,
Mark Rutland <mark.rutland@....com>,
Arnd Bergmann <arnd@...db.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-s390@...r.kernel.org, linux-arch@...r.kernel.org,
David Airlie <airlied@...ux.ie>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Wim Van Sebroeck <wim@...ana.be>,
Guenter Roeck <linux@...ck-us.net>,
linux-watchdog@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
Daniel Borkmann <daniel@...earbox.net>,
Takashi Iwai <tiwai@...e.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCHv3 11/16] module: Use set_memory.h header
set_memory_* functions have moved to set_memory.h. Switch to this
explicitly.
Acked-by: Jessica Yu <jeyu@...hat.com>
Signed-off-by: Laura Abbott <labbott@...hat.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
Powered by blists - more mailing lists