summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-10-18 09:04:34 +0200
committerKyle McMartin <kyle@shortfin.cabal.ca>2007-10-18 09:59:15 +0200
commit1c593571093ae0f259d3bd7a66988a7a8eb5c7bc (patch)
tree0ce48386ab6e2752145dba8fa81bc5440eda0118 /arch/parisc/kernel/vmlinux.lds.S
parent[PARISC] Beautify parisc vmlinux.lds.S (diff)
downloadlinux-1c593571093ae0f259d3bd7a66988a7a8eb5c7bc.tar.xz
linux-1c593571093ae0f259d3bd7a66988a7a8eb5c7bc.zip
[PARISC] Kill off ASM_PAGE_SIZE use
We have the macro _AC() generally available now so the calculation of PAGE_SIZE can be made assembler compatible. Introduce use of _AC() and kill all users of ASM_PAGE_SIZE. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/parisc/kernel/vmlinux.lds.S')
-rw-r--r--arch/parisc/kernel/vmlinux.lds.S14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S
index d6951bb5a9c9..d6dbcbcdcc2e 100644
--- a/arch/parisc/kernel/vmlinux.lds.S
+++ b/arch/parisc/kernel/vmlinux.lds.S
@@ -73,7 +73,7 @@ SECTIONS
* that we can properly leave these
* as writable
*/
- . = ALIGN(ASM_PAGE_SIZE);
+ . = ALIGN(PAGE_SIZE);
data_start = .;
. = ALIGN(16);
/* Exception table */
@@ -119,12 +119,12 @@ SECTIONS
/* nosave data is really only used for software suspend...it's here
* just in case we ever implement it
*/
- . = ALIGN(ASM_PAGE_SIZE);
+ . = ALIGN(PAGE_SIZE);
__nosave_begin = .;
.data_nosave : {
*(.data.nosave)
}
- . = ALIGN(ASM_PAGE_SIZE);
+ . = ALIGN(PAGE_SIZE);
__nosave_end = .;
/* End of data section */
@@ -133,7 +133,7 @@ SECTIONS
/* BSS */
__bss_start = .;
/* page table entries need to be PAGE_SIZE aligned */
- . = ALIGN(ASM_PAGE_SIZE);
+ . = ALIGN(PAGE_SIZE);
.data.vmpages : {
*(.data.vm0.pmd)
*(.data.vm0.pgd)
@@ -229,7 +229,7 @@ SECTIONS
*(.exit.data)
}
#ifdef CONFIG_BLK_DEV_INITRD
- . = ALIGN(ASM_PAGE_SIZE);
+ . = ALIGN(PAGE_SIZE);
.init.ramfs : {
__initramfs_start = .;
*(.init.ramfs)
@@ -237,8 +237,8 @@ SECTIONS
}
#endif
- PERCPU(ASM_PAGE_SIZE)
- . = ALIGN(ASM_PAGE_SIZE);
+ PERCPU(PAGE_SIZE)
+ . = ALIGN(PAGE_SIZE);
__init_end = .;
/* freed after init ends here */
_end = . ;