Эх сурвалжийг харах

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>
Christoph Lameter 15 жил өмнө
parent
commit
f90ec39014
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      mm/slub.c

+ 2 - 2
mm/slub.c

@@ -162,8 +162,8 @@
 #define MAX_OBJS_PER_PAGE	65535 /* since page.objects is u16 */
 #define MAX_OBJS_PER_PAGE	65535 /* since page.objects is u16 */
 
 
 /* Internal SLUB flags */
 /* 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);
 static int kmem_size = sizeof(struct kmem_cache);