diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-07-03 09:31:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-03 13:56:13 -0700 |
commit | dbc55faa64c12f4c9fab6e2bd131d771bc026ed1 (patch) | |
tree | b43ca5aa30dbfb9ab920db07039f8c76996fd17a /kernel/relay.c | |
parent | 746976a301ac9c9aa10d7d42454f8d6cdad8ff2b (diff) |
SLUB: Make lockdep happy by not calling add_partial with interrupts enabled during bootstrap
If we move the local_irq_enable() to the end of the function then
add_partial() in early_kmem_cache_node_alloc() will be called
with interrupts disabled like during regular operations.
This makes lockdep happy.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Tested-by: Andre Noll <maan@systemlinux.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/relay.c')
0 files changed, 0 insertions, 0 deletions