Signed-off-by: Andrew Morton --- 25-x86_64-akpm/kernel/lockmeter.c | 10 ---------- 1 files changed, 10 deletions(-) diff -puN kernel/lockmeter.c~lockmeter-in_lock_functions-fix-2 kernel/lockmeter.c --- 25-x86_64/kernel/lockmeter.c~lockmeter-in_lock_functions-fix-2 Thu Sep 16 15:44:17 2004 +++ 25-x86_64-akpm/kernel/lockmeter.c Thu Sep 16 15:44:21 2004 @@ -1498,13 +1498,3 @@ int __lockfunc _spin_trylock_bh(spinlock return 0; } EXPORT_SYMBOL(_spin_trylock_bh); - -int in_lock_functions(unsigned long addr) -{ - /* Linker adds these: start and end of __lockfunc functions */ - extern char __lock_text_start[], __lock_text_end[]; - - return addr >= (unsigned long)__lock_text_start - && addr < (unsigned long)__lock_text_end; -} -EXPORT_SYMBOL(in_lock_functions); _