summaryrefslogtreecommitdiff
path: root/kernel/module.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2019-09-23 10:38:20 -0700
committerTony Lindgren <tony@atomide.com>2019-09-23 10:38:20 -0700
commitc01f5120ca7cf2994336c42b8a9cae697121ffb3 (patch)
treed0ac4ed8e3bc4c11203f31b984d300b0f4127978 /kernel/module.c
parenta4c8723a162e6244fb01944fbf446750575dba59 (diff)
parentf1f028ff89cb0d37db299d48e7b2ce19be040d52 (diff)
Merge branch 'fixes-merge-window-pt2' into fixes
Diffstat (limited to 'kernel/module.c')
-rw-r--r--kernel/module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/module.c b/kernel/module.c
index 5933395af9a0..9ee93421269c 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -65,9 +65,9 @@
/*
* Modules' sections will be aligned on page boundaries
* to ensure complete separation of code and data, but
- * only when CONFIG_STRICT_MODULE_RWX=y
+ * only when CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
*/
-#ifdef CONFIG_STRICT_MODULE_RWX
+#ifdef CONFIG_ARCH_HAS_STRICT_MODULE_RWX
# define debug_align(X) ALIGN(X, PAGE_SIZE)
#else
# define debug_align(X) (X)