[PATCH] ppc64: Set ARCH_MIN_TASKALIGN

From: Benjamin Herrenschmidt
Date: Thu Apr 22 2004 - 03:00:58 EST


We need some alignement of those structs for proper operations
especially with FP and Altivec, or SLAB_DEBUG can break us

Please apply,
Ben.

===== include/asm-ppc64/processor.h 1.40 vs edited =====
--- 1.40/include/asm-ppc64/processor.h Tue Apr 13 03:54:08 2004
+++ edited/include/asm-ppc64/processor.h Thu Apr 22 17:51:46 2004
@@ -553,6 +553,8 @@
#endif /* CONFIG_ALTIVEC */
};

+#define ARCH_MIN_TASKALIGN 16
+
#define INIT_SP (sizeof(init_stack) + (unsigned long) &init_stack)

#define INIT_THREAD { \


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/