diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-12-15 17:28:13 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-12-15 00:58:15 -0500 |
commit | e6428047725d72d63c1d9c4ba852e635e3ffe52a (patch) | |
tree | f20db143e477a9cc7415725888e0861ca3a4cae2 | |
parent | 1abff64d49ae24a77ae1e191fa58b725c5991c7e (diff) |
x86: don't export inline function
For CONFIG_PARAVIRT, load_gs_index is an inline function (it's #defined
to native_load_gs_index otherwise).
Exporting an inline function breaks the new assembler-based alphabetical
sorted symbol list:
Today's linux-next build (x86_64 allmodconfig) failed like this:
.tmp_exports-asm.o: In function `__ksymtab_load_gs_index':
(__ksymtab_sorted+0x5b40): undefined reference to `load_gs_index'
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
To: x86@kernel.org
Cc: alan-jenkins@tuffmail.co.uk
-rw-r--r-- | arch/x86/kernel/x8664_ksyms_64.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/x8664_ksyms_64.c b/arch/x86/kernel/x8664_ksyms_64.c index a1029769b6f2..084c1adc45f5 100644 --- a/arch/x86/kernel/x8664_ksyms_64.c +++ b/arch/x86/kernel/x8664_ksyms_64.c | |||
@@ -56,4 +56,6 @@ EXPORT_SYMBOL(__memcpy); | |||
56 | 56 | ||
57 | EXPORT_SYMBOL(empty_zero_page); | 57 | EXPORT_SYMBOL(empty_zero_page); |
58 | EXPORT_SYMBOL(init_level4_pgt); | 58 | EXPORT_SYMBOL(init_level4_pgt); |
59 | EXPORT_SYMBOL(load_gs_index); | 59 | #ifndef CONFIG_PARAVIRT |
60 | EXPORT_SYMBOL(native_load_gs_index); | ||
61 | #endif | ||