From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with SMTP id 5EFBF6B01B4 for ; Fri, 25 Jun 2010 17:24:25 -0400 (EDT) Message-Id: <20100625212104.072820103@quilx.com> Date: Fri, 25 Jun 2010 16:20:31 -0500 From: Christoph Lameter Subject: [S+Q 05/16] SLUB: Constants need UL References: <20100625212026.810557229@quilx.com> Content-Disposition: inline; filename=slub_constant_ul Sender: owner-linux-mm@kvack.org To: Pekka Enberg Cc: linux-mm@kvack.org, Nick Piggin , Matt Mackall List-ID: UL suffix is missing in some constants. Conform to how slab.h uses constants. Signed-off-by: Christoph Lameter --- mm/slub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6/mm/slub.c =================================================================== --- linux-2.6.orig/mm/slub.c 2010-05-24 14:40:33.000000000 -0500 +++ linux-2.6/mm/slub.c 2010-05-24 14:42:46.000000000 -0500 @@ -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); -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org