| commit | a24c5a0ea902bcda348f086bd909cc2d6e305bf8 | [log] [tgz] |
|---|---|---|
| author | Christoph Lameter <cl@linux.com> | Tue Mar 15 12:45:21 2011 -0500 |
| committer | Pekka Enberg <penberg@kernel.org> | Sun Mar 20 18:11:07 2011 +0200 |
| tree | 82ac0b5bdc810b6f427261b8b254ac2b05023f56 | |
| parent | 8a5ec0ba42c4919e2d8f4c3138cc8b987fdb0b79 [diff] |
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>