X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c5552ad03973839d83d32d7108f20c00f192633b..a3978a4a410391558c991944340bcf6941c9c916:/target/linux/generic/patches-2.6.35/028-module_exports.patch diff --git a/target/linux/generic/patches-2.6.35/028-module_exports.patch b/target/linux/generic/patches-2.6.35/028-module_exports.patch index ad9074a88..2b7460236 100644 --- a/target/linux/generic/patches-2.6.35/028-module_exports.patch +++ b/target/linux/generic/patches-2.6.35/028-module_exports.patch @@ -28,7 +28,7 @@ #ifndef SYMBOL_PREFIX #define VMLINUX_SYMBOL(sym) sym #else -@@ -258,35 +279,35 @@ +@@ -268,35 +289,35 @@ /* Kernel symbol table: Normal symbols */ \ __ksymtab : AT(ADDR(__ksymtab) - LOAD_OFFSET) { \ VMLINUX_SYMBOL(__start___ksymtab) = .; \ @@ -69,7 +69,7 @@ VMLINUX_SYMBOL(__stop___ksymtab_gpl_future) = .; \ } \ \ -@@ -327,7 +348,7 @@ +@@ -337,7 +358,7 @@ \ /* Kernel symbol table: strings */ \ __ksymtab_strings : AT(ADDR(__ksymtab_strings) - LOAD_OFFSET) { \ @@ -78,7 +78,7 @@ } \ \ /* __*init sections */ \ -@@ -642,6 +663,9 @@ +@@ -652,6 +673,9 @@ EXIT_TEXT \ EXIT_DATA \ EXIT_CALL \ @@ -90,7 +90,7 @@ --- a/include/linux/module.h +++ b/include/linux/module.h -@@ -195,16 +195,24 @@ void *__symbol_get_gpl(const char *symbo +@@ -202,16 +202,24 @@ struct module_use { #define __CRC_SYMBOL(sym, sec) #endif