summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux-foundation.org>2010-07-09 14:07:11 -0500
committerPekka Enberg <penberg@cs.helsinki.fi>2010-07-16 11:13:07 +0300
commitf90ec390148fdbc0db38c477bc6dc94db721e7f1 (patch)
tree265f99b1be6c5dd5c5087d29eabd7fadcad4805f
parent2154a336381f85f5390d9a84c6cf4a7d2847b6ed (diff)
downloadlwn-f90ec390148fdbc0db38c477bc6dc94db721e7f1.tar.gz
lwn-f90ec390148fdbc0db38c477bc6dc94db721e7f1.zip
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>
-rw-r--r--mm/slub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/slub.c b/mm/slub.c
index cc0a3c72e514..2c1190351726 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -162,8 +162,8 @@
#define MAX_OBJS_PER_PAGE 65535 /* since page.objects is u16 */
/* Internal SLUB flags */
-#define __OBJECT_POISON 0x80000000 /* Poison object */
-#define __SYSFS_ADD_DEFERRED 0x40000000 /* Not yet visible via sysfs */
+#define __OBJECT_POISON 0x80000000UL /* Poison object */
+#define __SYSFS_ADD_DEFERRED 0x40000000UL /* Not yet visible via sysfs */
static int kmem_size = sizeof(struct kmem_cache);