Set ARCH_MIN_TASKALIGN on ppc32
PATCH 1/1 Set ARCH_MIN_TASKALIGN on ppc32
Please apply, or the task struct gets unaligned when using SLAB_DEBUG, causing random problems with FP and Altivec.
Ben.
-----Forwarded Message-----
From: David Woodhouse <[email protected]>
To: [email protected]
Subject: [PATCH] Set ARCH_MIN_TASKALIGN on ppc32
Date: Wed, 21 Apr 2004 22:14:23 -0400
...lest CONFIG_DEBUG_SLAB make it unaligned.
asm-ppc/processor.h renamed from asm-ppc/processor.h~ +2 -0
@@ -121,6 +121,8 @@#endif /* CONFIG_ALTIVEC */ }; +#define ARCH_MIN_TASKALIGN 16 +#define INIT_SP (sizeof(init_stack) + (unsigned long) &init_stack)#define INIT_THREAD { \
Signature · 1 line
Benjamin Herrenschmidt <[email protected]>