mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Linus Torvalds <torvalds@osdl.org>,
	Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: [PATCH] Set ARCH_MIN_TASKALIGN on ppc32
Date: Thu, 22 Apr 2004 13:49:59 +1000	[thread overview]
Message-ID: <1082605798.28232.101.camel@gaston> (raw)

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>


                 reply	other threads:[~2004-04-22  3:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1082605798.28232.101.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®