diff options
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/001.patch')
-rw-r--r-- | recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/001.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/001.patch b/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/001.patch new file mode 100644 index 0000000..538718a --- /dev/null +++ b/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/001.patch @@ -0,0 +1,11 @@ +--- b/init/main.c ++++ a/init/main.c +@@ -915,7 +915,7 @@ + + static noinline void __init kernel_init_freeable(void); + ++#if defined(CONFIG_DEBUG_RODATA) || defined(CONFIG_SET_MODULE_RONX) +-#if defined(CONFIG_DEBUG_RODATA) || defined(CONFIG_DEBUG_SET_MODULE_RONX) + bool rodata_enabled __ro_after_init = true; + static int __init set_debug_rodata(char *str) + { |