aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/slub_def.h
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2011-03-15 12:45:21 -0500
committerPekka Enberg <penberg@kernel.org>2011-03-20 18:11:07 +0200
commita24c5a0ea902bcda348f086bd909cc2d6e305bf8 (patch)
tree82ac0b5bdc810b6f427261b8b254ac2b05023f56 /include/linux/slub_def.h
parentLockless (and preemptless) fastpaths for slub (diff)
downloadlinux-dev-a24c5a0ea902bcda348f086bd909cc2d6e305bf8.tar.xz
linux-dev-a24c5a0ea902bcda348f086bd909cc2d6e305bf8.zip
slub: Dont define useless label in the !CONFIG_CMPXCHG_LOCAL case
The redo label needs #ifdeffery. Fixes the following problem introduced by commit 8a5ec0ba42c4 ("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>
Diffstat (limited to 'include/linux/slub_def.h')
0 files changed, 0 insertions, 0 deletions