Commit 02b7da37f7acd49277dea1481dc0c5c246c09732
Committed by
Sam Ravnborg
1 parent
d200c922bc
Exists in
master
and in
4 other branches
Use macros for .bss.page_aligned section.
This patch changes the remaining direct references to .bss.page_aligned in C and assembly code to use the macros in include/linux/linkage.h. Signed-off-by: Tim Abbott <tabbott@ksplice.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Cc: Chris Zankel <chris@zankel.net> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Showing 4 changed files with 5 additions and 7 deletions Side-by-side Diff
arch/sh/kernel/irq.c
... | ... | @@ -165,11 +165,9 @@ |
165 | 165 | } |
166 | 166 | |
167 | 167 | #ifdef CONFIG_IRQSTACKS |
168 | -static char softirq_stack[NR_CPUS * THREAD_SIZE] | |
169 | - __attribute__((__section__(".bss.page_aligned"))); | |
168 | +static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss; | |
170 | 169 | |
171 | -static char hardirq_stack[NR_CPUS * THREAD_SIZE] | |
172 | - __attribute__((__section__(".bss.page_aligned"))); | |
170 | +static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss; | |
173 | 171 | |
174 | 172 | /* |
175 | 173 | * allocate per-cpu stacks for hardirq and for softirq processing |
arch/x86/kernel/head_32.S
arch/x86/kernel/head_64.S