]> git.baikalelectronics.ru Git - kernel.git/commit
slub: Dont define useless label in the !CONFIG_CMPXCHG_LOCAL case
authorChristoph Lameter <cl@linux.com>
Tue, 15 Mar 2011 17:45:21 +0000 (12:45 -0500)
committerPekka Enberg <penberg@kernel.org>
Sun, 20 Mar 2011 16:11:07 +0000 (18:11 +0200)
commit414c25b546ba11baf3a065826813a841601b7531
tree82ac0b5bdc810b6f427261b8b254ac2b05023f56
parent1b28e5b694933a877d095935a7438e9ed8cbcbab
slub: Dont define useless label in the !CONFIG_CMPXCHG_LOCAL case

The redo label needs #ifdeffery. Fixes the following problem introduced by
commit 1b28e5b69493 ("Lockless (and preemptless) fastpaths for slub"):

  mm/slub.c: In function 'slab_free':
  mm/slub.c:2124: warning: label 'redo' defined but not used

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c