From: Robert P. J. Day Date: Sat, 21 Jul 2007 15:11:41 +0000 (+0200) Subject: i386: Update alignment when 4K stacks are used. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=09fce8a195638ad038b8a58d9d8d3558c21a23ea;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git i386: Update alignment when 4K stacks are used. Signed-off-by: Robert P. J. Day Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/kernel/irq.c b/arch/i386/kernel/irq.c index ba44d40b066d..dd2b97fc00b2 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