diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-19 19:14:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-19 19:14:37 +0000 |
commit | 46e4246d61da08e4b96f12c29b55b6dc431d2205 (patch) | |
tree | e73116b60163b528533b7f74706e36ab162b9261 /target/linux/generic/patches-3.8 | |
parent | 6f0ecf0541852abcc6251b006c1125b7c9bf92d1 (diff) | |
download | upstream-46e4246d61da08e4b96f12c29b55b6dc431d2205.tar.gz upstream-46e4246d61da08e4b96f12c29b55b6dc431d2205.tar.bz2 upstream-46e4246d61da08e4b96f12c29b55b6dc431d2205.zip |
kernel: remove 340-module_alloc_size_check.patch from linux 3.8, it is not necessary anymore
SVN-Revision: 35248
Diffstat (limited to 'target/linux/generic/patches-3.8')
-rw-r--r-- | target/linux/generic/patches-3.8/340-module_alloc_size_check.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/target/linux/generic/patches-3.8/340-module_alloc_size_check.patch b/target/linux/generic/patches-3.8/340-module_alloc_size_check.patch deleted file mode 100644 index 2ed631855f..0000000000 --- a/target/linux/generic/patches-3.8/340-module_alloc_size_check.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/kernel/module.c -+++ b/kernel/module.c -@@ -2374,12 +2374,15 @@ static void dynamic_debug_remove(struct - - void * __weak module_alloc(unsigned long size) - { -- return vmalloc_exec(size); -+ return size == 0 ? NULL : vmalloc_exec(size); - } - - static void *module_alloc_update_bounds(unsigned long size) - { -- void *ret = module_alloc(size); -+ void *ret = NULL; -+ -+ if (size) -+ ret = module_alloc(size); - - if (ret) { - mutex_lock(&module_mutex); |