diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-20 16:17:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-20 16:42:58 -0500 |
commit | 9f28bb7e1d0188a993403ab39b774785892805e1 (patch) | |
tree | 939660c2531335dc899cc66fa7f3f05aa343d1e0 /arch/v850/kernel | |
parent | 3fd6805f4dfb02bcfb5634972eabad0e790f119a (diff) |
[PATCH] add EXPORT_SYMBOL_GPL_FUTURE()
This patch adds the ability to mark symbols that will be changed in the
future, so that kernel modules that don't include MODULE_LICENSE("GPL")
and use the symbols, will be flagged and printed out to the system log.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/v850/kernel')
-rw-r--r-- | arch/v850/kernel/vmlinux.lds.S | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/v850/kernel/vmlinux.lds.S b/arch/v850/kernel/vmlinux.lds.S index 5be05f47109e..5b2ffcc6e2b2 100644 --- a/arch/v850/kernel/vmlinux.lds.S +++ b/arch/v850/kernel/vmlinux.lds.S | |||
@@ -64,6 +64,10 @@ | |||
64 | ___start___ksymtab_gpl = .; \ | 64 | ___start___ksymtab_gpl = .; \ |
65 | *(__ksymtab_gpl) \ | 65 | *(__ksymtab_gpl) \ |
66 | ___stop___ksymtab_gpl = .; \ | 66 | ___stop___ksymtab_gpl = .; \ |
67 | /* Kernel symbol table: GPL-future symbols */ \ | ||
68 | ___start___ksymtab_gpl_future = .; \ | ||
69 | *(__ksymtab_gpl_future) \ | ||
70 | ___stop___ksymtab_gpl_future = .; \ | ||
67 | /* Kernel symbol table: strings */ \ | 71 | /* Kernel symbol table: strings */ \ |
68 | *(__ksymtab_strings) \ | 72 | *(__ksymtab_strings) \ |
69 | /* Kernel symbol table: Normal symbols */ \ | 73 | /* Kernel symbol table: Normal symbols */ \ |
@@ -74,6 +78,10 @@ | |||
74 | ___start___kcrctab_gpl = .; \ | 78 | ___start___kcrctab_gpl = .; \ |
75 | *(__kcrctab_gpl) \ | 79 | *(__kcrctab_gpl) \ |
76 | ___stop___kcrctab_gpl = .; \ | 80 | ___stop___kcrctab_gpl = .; \ |
81 | /* Kernel symbol table: GPL-future symbols */ \ | ||
82 | ___start___kcrctab_gpl_future = .; \ | ||
83 | *(__kcrctab_gpl_future) \ | ||
84 | ___stop___kcrctab_gpl_future = .; \ | ||
77 | /* Built-in module parameters */ \ | 85 | /* Built-in module parameters */ \ |
78 | . = ALIGN (4) ; \ | 86 | . = ALIGN (4) ; \ |
79 | ___start___param = .; \ | 87 | ___start___param = .; \ |