diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2015-11-20 15:57:41 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-20 16:17:32 -0800 |
commit | b4a64718797b84b64a6ddf3d4183c29c2e79ef1d (patch) | |
tree | b434754dfea11c2ba121621a696ffb2c2b939f0f | |
parent | 87098373e244840e00bd1c93884c1d917411597e (diff) | |
download | linux-stable-b4a64718797b84b64a6ddf3d4183c29c2e79ef1d.tar.gz linux-stable-b4a64718797b84b64a6ddf3d4183c29c2e79ef1d.tar.bz2 linux-stable-b4a64718797b84b64a6ddf3d4183c29c2e79ef1d.zip |
slub: mark the dangling ifdef #else of CONFIG_SLUB_DEBUG
The #ifdef of CONFIG_SLUB_DEBUG is located very far from the associated
#else. For readability mark it with a comment.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c index 23f9d8d26422..a0c1365f6426 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1204,7 +1204,7 @@ unsigned long kmem_cache_flags(unsigned long object_size, return flags; } -#else +#else /* !CONFIG_SLUB_DEBUG */ static inline void setup_object_debug(struct kmem_cache *s, struct page *page, void *object) {} |