From: Adrian Bunk <bunk@stusta.de>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org
Subject: [RFC: 2.6 patch] remove kernel/lockdep.c:lockdep_internal
Date: Sat, 18 Nov 2006 00:58:33 +0100 [thread overview]
Message-ID: <20061117235833.GO31879@stusta.de> (raw)
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:
*/
next reply other threads:[~2006-11-17 23:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-17 23:58 Adrian Bunk [this message]
2006-11-18 6:56 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061117235833.GO31879@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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