diff options
author | Christoph Lameter <cl@linux-foundation.org> | 2010-07-09 15:07:11 -0400 |
---|---|---|
committer | Pekka Enberg <penberg@cs.helsinki.fi> | 2010-07-16 04:13:07 -0400 |
commit | f90ec390148fdbc0db38c477bc6dc94db721e7f1 (patch) | |
tree | 265f99b1be6c5dd5c5087d29eabd7fadcad4805f /mm/slub.c | |
parent | 2154a336381f85f5390d9a84c6cf4a7d2847b6ed (diff) |
SLUB: Constants need UL
UL suffix is missing in some constants. Conform to how slab.h uses constants.
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -162,8 +162,8 @@ | |||
162 | #define MAX_OBJS_PER_PAGE 65535 /* since page.objects is u16 */ | 162 | #define MAX_OBJS_PER_PAGE 65535 /* since page.objects is u16 */ |
163 | 163 | ||
164 | /* Internal SLUB flags */ | 164 | /* Internal SLUB flags */ |
165 | #define __OBJECT_POISON 0x80000000 /* Poison object */ | 165 | #define __OBJECT_POISON 0x80000000UL /* Poison object */ |
166 | #define __SYSFS_ADD_DEFERRED 0x40000000 /* Not yet visible via sysfs */ | 166 | #define __SYSFS_ADD_DEFERRED 0x40000000UL /* Not yet visible via sysfs */ |
167 | 167 | ||
168 | static int kmem_size = sizeof(struct kmem_cache); | 168 | static int kmem_size = sizeof(struct kmem_cache); |
169 | 169 | ||