aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux-foundation.org>2010-07-09 15:07:11 -0400
committerPekka Enberg <penberg@cs.helsinki.fi>2010-07-16 04:13:07 -0400
commitf90ec390148fdbc0db38c477bc6dc94db721e7f1 (patch)
tree265f99b1be6c5dd5c5087d29eabd7fadcad4805f /mm
parent2154a336381f85f5390d9a84c6cf4a7d2847b6ed (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')
-rw-r--r--mm/slub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/slub.c b/mm/slub.c
index cc0a3c72e51..2c119035172 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -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
168static int kmem_size = sizeof(struct kmem_cache); 168static int kmem_size = sizeof(struct kmem_cache);
169 169