diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-07-05 07:37:27 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-07-26 08:25:09 +0200 |
commit | f1c1174fa099566f02c809193e9720593b231ae2 (patch) | |
tree | 5868d7c9608b5429f59e2b237b7033604ad1fb5a /arch/s390/kernel/vdso64 | |
parent | c67da7c7c5d4c0a45b079b21f6991cb7e753856e (diff) | |
download | lwn-f1c1174fa099566f02c809193e9720593b231ae2.tar.gz lwn-f1c1174fa099566f02c809193e9720593b231ae2.zip |
s390/mm: use new mm defines instead of magic values
Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/vdso64')
-rw-r--r-- | arch/s390/kernel/vdso64/vdso64.lds.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/kernel/vdso64/vdso64.lds.S b/arch/s390/kernel/vdso64/vdso64.lds.S index f35455d497fe..9e3dbbcc1cfc 100644 --- a/arch/s390/kernel/vdso64/vdso64.lds.S +++ b/arch/s390/kernel/vdso64/vdso64.lds.S @@ -2,6 +2,8 @@ * This is the infamous ld script for the 64 bits vdso * library */ + +#include <asm/page.h> #include <asm/vdso.h> OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390") @@ -91,7 +93,7 @@ SECTIONS .debug_ranges 0 : { *(.debug_ranges) } .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) } - . = ALIGN(4096); + . = ALIGN(PAGE_SIZE); PROVIDE(_vdso_data = .); /DISCARD/ : { |