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

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 =====
--- 1.40/include/asm-ppc64/processor.h	Tue Apr 13 03:54:08 2004
+++ edited/include/asm-ppc64/processor.h	Thu Apr 22 17:51:46 2004
@@ -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  { \



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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-22  7:53 [PATCH] ppc64: Set ARCH_MIN_TASKALIGN 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®