diff options
author | Helge Deller <deller@gmx.de> | 2016-10-05 22:05:39 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-10-05 22:54:29 +0200 |
commit | 2929e738002e7d43e0409fce9f968a67a7c9b0eb (patch) | |
tree | 8de8fd769fcd6fc8270923431fd2f1c114080be9 /arch/parisc | |
parent | 92420bd0d01f040bbf754e1d090be49ca6a1c8d6 (diff) | |
download | linux-2929e738002e7d43e0409fce9f968a67a7c9b0eb.tar.gz linux-2929e738002e7d43e0409fce9f968a67a7c9b0eb.tar.bz2 linux-2929e738002e7d43e0409fce9f968a67a7c9b0eb.zip |
parisc: Move hpmc stack into page aligned bss section
Do not reserve space in data section for hpmc stack, instead move it
into the page aligned bss section.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/hpmc.S | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/parisc/kernel/hpmc.S b/arch/parisc/kernel/hpmc.S index e158b6fbf1b4..8b8702053f1e 100644 --- a/arch/parisc/kernel/hpmc.S +++ b/arch/parisc/kernel/hpmc.S @@ -41,12 +41,12 @@ */ .level 1.1 - .data #include <asm/assembly.h> #include <asm/pdc.h> #include <linux/linkage.h> +#include <linux/init.h> /* * stack for os_hpmc, the HPMC handler. @@ -55,22 +55,26 @@ * IODC requires 7K byte stack. That leaves 1K byte for os_hpmc. */ + __PAGE_ALIGNED_BSS .align 4096 hpmc_stack: .block 16384 #define HPMC_IODC_BUF_SIZE 0x8000 + __PAGE_ALIGNED_BSS .align 4096 hpmc_iodc_buf: .block HPMC_IODC_BUF_SIZE + .section .bss .align 8 hpmc_raddr: .block 128 #define HPMC_PIM_DATA_SIZE 896 /* Enough to hold all architected 2.0 state */ + .section .bss .align 8 ENTRY(hpmc_pim_data) .block HPMC_PIM_DATA_SIZE @@ -297,9 +301,9 @@ os_hpmc_6: nop ENDPROC(os_hpmc) .os_hpmc_end: - nop -.data -.align 4 + + + __INITRODATA .export os_hpmc_size os_hpmc_size: .word .os_hpmc_end-.os_hpmc |