[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070719134904.B579E14E6E@wotan.suse.de>
Date: Thu, 19 Jul 2007 15:49:04 +0200 (CEST)
From: Andi Kleen <ak@...e.de>
To: rpjday@...dspring.com, linux-kernel@...r.kernel.org
Subject: [PATCH for review] [34/48] i386: Update alignment when 4K stacks are used.
From: "Robert P. J. Day" <rpjday@...dspring.com>
Signed-off-by: Robert P. J. Day <rpjday@...dspring.com>
Signed-off-by: Andi Kleen <ak@...e.de>
---
it's not clear from MAINTAINERS who's responsible for something this
generic.
---
arch/i386/kernel/irq.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
Index: linux/arch/i386/kernel/irq.c
===================================================================
--- linux.orig/arch/i386/kernel/irq.c
+++ linux/arch/i386/kernel/irq.c
@@ -149,15 +149,11 @@ fastcall unsigned int do_IRQ(struct pt_r
#ifdef CONFIG_4KSTACKS
-/*
- * These should really be __section__(".bss.page_aligned") as well, but
- * gcc's 3.0 and earlier don't handle that correctly.
- */
static char softirq_stack[NR_CPUS * THREAD_SIZE]
- __attribute__((__aligned__(THREAD_SIZE)));
+ __attribute__((__section__(".bss.page_aligned")));
static char hardirq_stack[NR_CPUS * THREAD_SIZE]
- __attribute__((__aligned__(THREAD_SIZE)));
+ __attribute__((__section__(".bss.page_aligned")));
/*
* allocate per-cpu stacks for hardirq and for softirq processing
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists