diff options
Diffstat (limited to 'include/asm-sh/page.h')
-rw-r--r-- | include/asm-sh/page.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-sh/page.h b/include/asm-sh/page.h index cb54b25100b1..6bc9bba10105 100644 --- a/include/asm-sh/page.h +++ b/include/asm-sh/page.h | |||
@@ -151,5 +151,12 @@ typedef struct { unsigned long pgd; } pgd_t; | |||
151 | #define __HAVE_ARCH_GATE_AREA | 151 | #define __HAVE_ARCH_GATE_AREA |
152 | #endif | 152 | #endif |
153 | 153 | ||
154 | /* | ||
155 | * Slub defaults to 8-byte alignment, we're only interested in 4. | ||
156 | * Slab defaults to BYTES_PER_WORD, which ends up being the same anyways. | ||
157 | */ | ||
158 | #define ARCH_KMALLOC_MINALIGN 4 | ||
159 | #define ARCH_SLAB_MINALIGN 4 | ||
160 | |||
154 | #endif /* __KERNEL__ */ | 161 | #endif /* __KERNEL__ */ |
155 | #endif /* __ASM_SH_PAGE_H */ | 162 | #endif /* __ASM_SH_PAGE_H */ |