* [RFC: 2.6 patch] remove kernel/lockdep.c:lockdep_internal
@ 2006-11-17 23:58 Adrian Bunk
2006-11-18 6:56 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2006-11-17 23:58 UTC (permalink / raw)
To: Ingo Molnar; +Cc: linux-kernel
This patch removes the no longer used lockdep_internal().
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
include/linux/lockdep.h | 6 ------
kernel/lockdep.c | 7 -------
2 files changed, 13 deletions(-)
--- linux-2.6.19-rc5-mm2/include/linux/lockdep.h.old 2006-11-17 18:59:56.000000000 +0100
+++ linux-2.6.19-rc5-mm2/include/linux/lockdep.h 2006-11-17 19:00:07.000000000 +0100
@@ -193,7 +193,6 @@
extern void lockdep_off(void);
extern void lockdep_on(void);
-extern int lockdep_internal(void);
/*
* These methods are used by specific locking variants (spinlocks,
@@ -255,11 +254,6 @@
{
}
-static inline int lockdep_internal(void)
-{
- return 0;
-}
-
# define lock_acquire(l, s, t, r, c, i) do { } while (0)
# define lock_release(l, n, i) do { } while (0)
# define lockdep_init() do { } while (0)
--- linux-2.6.19-rc5-mm2/kernel/lockdep.c.old 2006-11-17 19:00:17.000000000 +0100
+++ linux-2.6.19-rc5-mm2/kernel/lockdep.c 2006-11-17 19:00:33.000000000 +0100
@@ -140,13 +140,6 @@
EXPORT_SYMBOL(lockdep_on);
-int lockdep_internal(void)
-{
- return current->lockdep_recursion != 0;
-}
-
-EXPORT_SYMBOL(lockdep_internal);
-
/*
* Debugging switches:
*/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-18 6:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-17 23:58 [RFC: 2.6 patch] remove kernel/lockdep.c:lockdep_internal Adrian Bunk
2006-11-18 6:56 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome