Skip to contentSkip to conversation

x86: unexport __{read,write}_lock_failed

PATCH New Adrian Bunk 1 participant 1 message Nov 5, 2007 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: unexport __{read,write}_lock_failed

This patch removes the unused exports for __{read,write}_lock_failed.

---

 arch/x86/kernel/i386_ksyms_32.c  |    7 -------
 arch/x86/kernel/x8664_ksyms_64.c |    7 -------
 2 files changed, 14 deletions(-)

c506e37e0e6cd6299ec355d4dd8d7d9bb2db3a51

arch/x86/kernel/i386_ksyms_32.c +0 -7
index edd39cc..9c4f9bb 100644
@@ -21,11 +21,4 @@ EXPORT_SYMBOL(__put_user_8);
 
 EXPORT_SYMBOL(strstr);
 
-#ifdef CONFIG_SMP
-extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
-extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
-EXPORT_SYMBOL(__write_lock_failed);
-EXPORT_SYMBOL(__read_lock_failed);
-#endif
-
 EXPORT_SYMBOL(csum_partial);
arch/x86/kernel/x8664_ksyms_64.c +0 -7
index 77c25b3..e28b533 100644
@@ -34,13 +34,6 @@ EXPORT_SYMBOL(__copy_from_user_inatomic);
 EXPORT_SYMBOL(copy_page);
 EXPORT_SYMBOL(clear_page);
 
-#ifdef CONFIG_SMP
-extern void  __write_lock_failed(rwlock_t *rw);
-extern void  __read_lock_failed(rwlock_t *rw);
-EXPORT_SYMBOL(__write_lock_failed);
-EXPORT_SYMBOL(__read_lock_failed);
-#endif
-
 /* Export string functions. We normally rely on gcc builtin for most of these,
    but gcc sometimes decides not to inline them. */    
 #undef memcpy