Fix FRV minimum slab/kmalloc alignment
Changes
1 files changed · +2 −2
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| include/asm-frv/mem-layout.h | modified | +2 | −2 | View file |
include/asm-frv/mem-layout.h
View filediff --git a/include/asm-frv/mem-layout.h b/include/asm-frv/mem-layout.h
index 8a15c90..2947764 100644
--- a/include/asm-frv/mem-layout.h
+++ b/include/asm-frv/mem-layout.h
@@ -35,8 +35,8 @@
* the slab must be aligned such that load- and store-double instructions don't
* fault if used
*/
-#define ARCH_KMALLOC_MINALIGN (sizeof(long) * 2)
-#define ARCH_SLAB_MINALIGN (sizeof(long) * 2)
+#define ARCH_KMALLOC_MINALIGN 8
+#define ARCH_SLAB_MINALIGN 8
/*****************************************************************************/
/*