]> err.no Git - linux-2.6/blobdiff - include/asm-sh/page.h
amd64: fix get_user() on bitwise
[linux-2.6] / include / asm-sh / page.h
index cb54b25100b1675dfb23999786c8fdc5139aebc8..6bc9bba101059f2641d78ecbde2019f143581b98 100644 (file)
@@ -151,5 +151,12 @@ typedef struct { unsigned long pgd; } pgd_t;
 #define __HAVE_ARCH_GATE_AREA
 #endif
 
+/*
+ * Slub defaults to 8-byte alignment, we're only interested in 4.
+ * Slab defaults to BYTES_PER_WORD, which ends up being the same anyways.
+ */
+#define ARCH_KMALLOC_MINALIGN  4
+#define ARCH_SLAB_MINALIGN     4
+
 #endif /* __KERNEL__ */
 #endif /* __ASM_SH_PAGE_H */