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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080103154222.2C75314DDB@wotan.suse.de>
Date:	Thu,  3 Jan 2008 16:42:22 +0100 (CET)
From:	Andi Kleen <ak@...e.de>
To:	peterz@...radead.org, linux-kernel@...r.kernel.org
Subject: [PATCH x86] [8/16] Make lockdep_init __init


Cc: peterz@...radead.org
Signed-off-by: Andi Kleen <ak@...e.de>

---
 kernel/lockdep.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Index: linux/kernel/lockdep.c
===================================================================
--- linux.orig/kernel/lockdep.c
+++ linux/kernel/lockdep.c
@@ -3023,7 +3023,7 @@ out_restore:
 #define LARGEVAR(x,y) x = arch_early_alloc(sizeof(*x) * y)
 #endif
 
-void lockdep_init_mem(void)
+void __init lockdep_init_mem(void)
 {
 	LARGEVAR(stack_trace, MAX_STACK_TRACE_ENTRIES);
 	LARGEVAR(list_entries, MAX_LOCKDEP_ENTRIES);
@@ -3031,7 +3031,8 @@ void lockdep_init_mem(void)
 	LARGEVAR(lock_classes, MAX_LOCKDEP_KEYS);
 	LARGEVAR(chainhash_table, CHAINHASH_SIZE);
 }
-void lockdep_init(void)
+
+void __init lockdep_init(void)
 {
 	int i;
 
--
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