xtensa: enforce slab alignment to maximum register width
[pandora-kernel.git] / arch / xtensa / include / asm / processor.h
index 07387d3..fba8b7e 100644 (file)
@@ -25,6 +25,8 @@
 # error Linux requires the Xtensa Windowed Registers Option.
 #endif
 
+#define ARCH_SLAB_MINALIGN     XCHAL_DATA_WIDTH
+
 /*
  * User space process size: 1 GB.
  * Windowed call ABI requires caller and callee to be located within the same