SLAB: Fix lockdep annotation breakage
authorPekka Enberg <penberg@cs.helsinki.fi>
Sun, 27 Dec 2009 12:33:14 +0000 (14:33 +0200)
committerPekka Enberg <penberg@cs.helsinki.fi>
Mon, 28 Dec 2009 18:57:27 +0000 (20:57 +0200)
commit00afa758067ac1c947149ef766adcdfe30c44d7d
tree7967c8e1b9876553742a73b6f7d155b2745ea671
parent6b7b284958d47b77d06745b36bc7f36dab769d9b
SLAB: Fix lockdep annotation breakage

Commit ce79ddc8e2376a9a93c7d42daf89bfcbb9187e62 ("SLAB: Fix lockdep annotations
for CPU hotplug") broke init_node_lock_keys() off-slab logic which causes
lockdep false positives.

Fix that up by reverting the logic back to original while keeping CPU hotplug
fixes intact.

Reported-and-tested-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reported-and-tested-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slab.c