aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/slub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 0cd56bd74b64..4a8585befd84 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -145,11 +145,11 @@
145 SLAB_CACHE_DMA) 145 SLAB_CACHE_DMA)
146 146
147#ifndef ARCH_KMALLOC_MINALIGN 147#ifndef ARCH_KMALLOC_MINALIGN
148#define ARCH_KMALLOC_MINALIGN sizeof(void *) 148#define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long long)
149#endif 149#endif
150 150
151#ifndef ARCH_SLAB_MINALIGN 151#ifndef ARCH_SLAB_MINALIGN
152#define ARCH_SLAB_MINALIGN sizeof(void *) 152#define ARCH_SLAB_MINALIGN __alignof__(unsigned long long)
153#endif 153#endif
154 154
155/* Internal SLUB flags */ 155/* Internal SLUB flags */