]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ppc64: Set ARCH_MIN_TASKALIGN
authorAndrew Morton <akpm@osdl.org>
Thu, 22 Apr 2004 06:38:29 +0000 (23:38 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 22 Apr 2004 06:38:29 +0000 (23:38 -0700)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

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

include/asm-ppc64/processor.h

index ea8bf67f7007b9864ae391162a3e7ea3ec64aa38..d3e83108c06470cec54a934a3e04292df009b080 100644 (file)
@@ -553,6 +553,8 @@ struct thread_struct {
 #endif /* CONFIG_ALTIVEC */
 };
 
+#define ARCH_MIN_TASKALIGN 16
+
 #define INIT_SP                (sizeof(init_stack) + (unsigned long) &init_stack)
 
 #define INIT_THREAD  { \