diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2015-10-08 09:17:08 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2015-10-08 09:17:08 +0000 |
commit | 90fb91db82e9d1b6368c4d4d74d644a579e13af9 (patch) | |
tree | de59bb284a2b486f5da28f753f4dd75634294a4f /target/linux | |
parent | af9ce72546ee8260fad503b6dd05761ba7a2345e (diff) | |
download | upstream-90fb91db82e9d1b6368c4d4d74d644a579e13af9.tar.gz upstream-90fb91db82e9d1b6368c4d4d74d644a579e13af9.tar.bz2 upstream-90fb91db82e9d1b6368c4d4d74d644a579e13af9.zip |
generic/3.18: refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47163 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/generic/patches-3.18/099-module_arch_freeing_init-new-hook-for-archs-before-m.patch | 12 | ||||
-rw-r--r-- | target/linux/generic/patches-3.18/204-module_strip.patch | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/generic/patches-3.18/099-module_arch_freeing_init-new-hook-for-archs-before-m.patch b/target/linux/generic/patches-3.18/099-module_arch_freeing_init-new-hook-for-archs-before-m.patch index 05cb2585ed..d00f751cdc 100644 --- a/target/linux/generic/patches-3.18/099-module_arch_freeing_init-new-hook-for-archs-before-m.patch +++ b/target/linux/generic/patches-3.18/099-module_arch_freeing_init-new-hook-for-archs-before-m.patch @@ -122,7 +122,7 @@ Origin: backport, https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.gi + mod->arch.syminfo = NULL; } - static void + static void check_rela(Elf_Rela *rela, struct module *me) --- a/arch/tile/kernel/module.c +++ b/arch/tile/kernel/module.c @@ -83,7 +83,7 @@ void module_free(struct module *mod, voi @@ -136,7 +136,7 @@ Origin: backport, https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.gi } --- a/include/linux/moduleloader.h +++ b/include/linux/moduleloader.h -@@ -80,4 +80,6 @@ int module_finalize(const Elf_Ehdr *hdr, +@@ -82,4 +82,6 @@ int module_finalize(const Elf_Ehdr *hdr, /* Any cleanup needed when module leaves. */ void module_arch_cleanup(struct module *mod); @@ -145,7 +145,7 @@ Origin: backport, https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.gi #endif --- a/kernel/module.c +++ b/kernel/module.c -@@ -1855,6 +1855,10 @@ void __weak module_arch_cleanup(struct m +@@ -1833,6 +1833,10 @@ void __weak module_arch_cleanup(struct m { } @@ -156,7 +156,7 @@ Origin: backport, https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.gi /* Free a module, remove from lists, etc. */ static void free_module(struct module *mod) { -@@ -1880,6 +1884,7 @@ static void free_module(struct module *m +@@ -1865,6 +1869,7 @@ static void free_module(struct module *m /* This may be NULL, but that's OK */ unset_module_init_ro_nx(mod); @@ -164,7 +164,7 @@ Origin: backport, https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.gi module_free(mod, mod->module_init); kfree(mod->args); percpu_modfree(mod); -@@ -2983,6 +2988,7 @@ out: +@@ -2954,6 +2959,7 @@ static struct module *layout_and_allocat static void module_deallocate(struct module *mod, struct load_info *info) { percpu_modfree(mod); @@ -172,7 +172,7 @@ Origin: backport, https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.gi module_free(mod, mod->module_init); module_free(mod, mod->module_core); } -@@ -3122,6 +3128,7 @@ static int do_init_module(struct module +@@ -3077,6 +3083,7 @@ static int do_init_module(struct module mod->strtab = mod->core_strtab; #endif unset_module_init_ro_nx(mod); diff --git a/target/linux/generic/patches-3.18/204-module_strip.patch b/target/linux/generic/patches-3.18/204-module_strip.patch index ed95eafd0d..09bffe0673 100644 --- a/target/linux/generic/patches-3.18/204-module_strip.patch +++ b/target/linux/generic/patches-3.18/204-module_strip.patch @@ -109,7 +109,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> config INIT_ALL_POSSIBLE --- a/kernel/module.c +++ b/kernel/module.c -@@ -2665,6 +2665,7 @@ static struct module *setup_load_info(st +@@ -2670,6 +2670,7 @@ static struct module *setup_load_info(st static int check_modinfo(struct module *mod, struct load_info *info, int flags) { @@ -117,7 +117,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> const char *modmagic = get_modinfo(info, "vermagic"); int err; -@@ -2690,6 +2691,7 @@ static int check_modinfo(struct module * +@@ -2695,6 +2696,7 @@ static int check_modinfo(struct module * pr_warn("%s: module is from the staging directory, the quality " "is unknown, you have been warned.\n", mod->name); } |