kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
[openwrt/staging/chunkeey.git] / target / linux / generic / patches-3.7 / 340-module_alloc_size_check.patch
index 2459b6183d38dfa57adbf6f862d9f873de79ff44..e48c0d2c1068c8be7e13f66bfec8c7c87b7161d2 100644 (file)
@@ -1,6 +1,6 @@
 --- a/kernel/module.c
 +++ b/kernel/module.c
-@@ -2378,12 +2378,15 @@ static void dynamic_debug_remove(struct
+@@ -2378,12 +2378,15 @@ static void dynamic_debug_remove(struct 
  
  void * __weak module_alloc(unsigned long size)
  {