lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061117235833.GO31879@stusta.de>
Date:	Sat, 18 Nov 2006 00:58:33 +0100
From:	Adrian Bunk <bunk@...sta.de>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	linux-kernel@...r.kernel.org
Subject: [RFC: 2.6 patch] remove kernel/lockdep.c:lockdep_internal

This patch removes the no longer used lockdep_internal().

Signed-off-by: Adrian Bunk <bunk@...sta.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:
  */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ