mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Set ARCH_MIN_TASKALIGN on ppc32
@ 2004-04-22  3:49 Benjamin Herrenschmidt
  0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2004-04-22  3:49 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linus Torvalds, Linux Kernel list

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>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-22  3:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-22  3:49 [PATCH] Set ARCH_MIN_TASKALIGN on ppc32 Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®