Skip to contentSkip to conversation

ppc64: Set ARCH_MIN_TASKALIGN

PATCH New Benjamin Herrenschmidt 1 participant 1 message Apr 22, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc64: Set ARCH_MIN_TASKALIGN

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 =====

include/asm-ppc64/processor.h +2 -0
@@ -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  { \