Messages in this thread Patch in this message | | | Subject | [PATCH] Set ARCH_MIN_TASKALIGN on ppc32 | From | Benjamin Herrenschmidt <> | Date | Thu, 22 Apr 2004 13:49:59 +1000 |
| |
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 <dwmw2@infradead.org> To: benh@kernel.crashing.org Subject: [PATCH] Set ARCH_MIN_TASKALIGN on ppc32 Date: Wed, 21 Apr 2004 22:14:23 -0400
...lest CONFIG_DEBUG_SLAB make it unaligned.
--- include/asm-ppc/processor.h~ 2004-04-21 16:38:03.000000000 -0400 +++ include/asm-ppc/processor.h 2004-04-21 21:48:48.000000000 -0400 @@ -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 { \ -- Benjamin Herrenschmidt <benh@kernel.crashing.org> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |