diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-30 07:30:29 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:29 -0500 |
commit | f0cd0af1b004f601f3cf96d9e001ffad9207f642 (patch) | |
tree | c660bdab75c01b41b962cce28067eb3f4d0ceaa1 | |
parent | 99122a3fe74c4918cdc86a8d6d63b40240fa8881 (diff) |
x86: unexport __{read,write}_lock_failed
This patch removes the unused exports for __{read,write}_lock_failed.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | arch/x86/kernel/i386_ksyms_32.c | 7 | ||||
-rw-r--r-- | arch/x86/kernel/x8664_ksyms_64.c | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/arch/x86/kernel/i386_ksyms_32.c b/arch/x86/kernel/i386_ksyms_32.c index 02112fcc0de7..061627806a2d 100644 --- a/arch/x86/kernel/i386_ksyms_32.c +++ b/arch/x86/kernel/i386_ksyms_32.c | |||
@@ -22,12 +22,5 @@ EXPORT_SYMBOL(__put_user_8); | |||
22 | 22 | ||
23 | EXPORT_SYMBOL(strstr); | 23 | EXPORT_SYMBOL(strstr); |
24 | 24 | ||
25 | #ifdef CONFIG_SMP | ||
26 | extern void FASTCALL( __write_lock_failed(rwlock_t *rw)); | ||
27 | extern void FASTCALL( __read_lock_failed(rwlock_t *rw)); | ||
28 | EXPORT_SYMBOL(__write_lock_failed); | ||
29 | EXPORT_SYMBOL(__read_lock_failed); | ||
30 | #endif | ||
31 | |||
32 | EXPORT_SYMBOL(csum_partial); | 25 | EXPORT_SYMBOL(csum_partial); |
33 | EXPORT_SYMBOL(empty_zero_page); | 26 | EXPORT_SYMBOL(empty_zero_page); |
diff --git a/arch/x86/kernel/x8664_ksyms_64.c b/arch/x86/kernel/x8664_ksyms_64.c index 77c25b307635..e28b533674dd 100644 --- a/arch/x86/kernel/x8664_ksyms_64.c +++ b/arch/x86/kernel/x8664_ksyms_64.c | |||
@@ -34,13 +34,6 @@ EXPORT_SYMBOL(__copy_from_user_inatomic); | |||
34 | EXPORT_SYMBOL(copy_page); | 34 | EXPORT_SYMBOL(copy_page); |
35 | EXPORT_SYMBOL(clear_page); | 35 | EXPORT_SYMBOL(clear_page); |
36 | 36 | ||
37 | #ifdef CONFIG_SMP | ||
38 | extern void __write_lock_failed(rwlock_t *rw); | ||
39 | extern void __read_lock_failed(rwlock_t *rw); | ||
40 | EXPORT_SYMBOL(__write_lock_failed); | ||
41 | EXPORT_SYMBOL(__read_lock_failed); | ||
42 | #endif | ||
43 | |||
44 | /* Export string functions. We normally rely on gcc builtin for most of these, | 37 | /* Export string functions. We normally rely on gcc builtin for most of these, |
45 | but gcc sometimes decides not to inline them. */ | 38 | but gcc sometimes decides not to inline them. */ |
46 | #undef memcpy | 39 | #undef memcpy |