Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=09fce8a195638ad038b8a58d9d8d3558c21a23ea Commit: 09fce8a195638ad038b8a58d9d8d3558c21a23ea Parent: edc2cbf49682079d5344bf7f2545ed6b036fa355 Author: Robert P. J. Day <[EMAIL PROTECTED]> AuthorDate: Sat Jul 21 17:11:41 2007 +0200 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Sat Jul 21 18:37:14 2007 -0700
i386: Update alignment when 4K stacks are used. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- arch/i386/kernel/irq.c | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/i386/kernel/irq.c b/arch/i386/kernel/irq.c index ba44d40..dd2b97f 100644 --- a/arch/i386/kernel/irq.c +++ b/arch/i386/kernel/irq.c @@ -149,15 +149,11 @@ fastcall unsigned int do_IRQ(struct pt_regs *regs) #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 git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html