lkml.org 
[lkml]   [2008]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH x86] [8/16] Make lockdep_init __init
Date

Cc: peterz@infradead.org
Signed-off-by: Andi Kleen <ak@suse.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;


\
 
 \ /
  Last update: 2008-01-03 16:49    [W:1.777 / U:1.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site