s390/linker script: use RO_DATA_SECTION
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 24 Jul 2012 14:32:39 +0000 (16:32 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Jul 2012 08:07:25 +0000 (10:07 +0200)
Use RO_DATA_SECTION instead of RODATA like several other archs do already.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/vmlinux.lds.S

index 21109c63eb12961483134141c67bfc8c2b8f8315..de8fa9bbd35ee9787537e93c18b561b75cacf72f 100644 (file)
@@ -45,7 +45,7 @@ SECTIONS
 
        .dummy : { *(.dummy) } :data
 
-       RODATA
+       RO_DATA_SECTION(PAGE_SIZE)
 
 #ifdef CONFIG_SHARED_KERNEL
        . = ALIGN(0x100000);    /* VM shared segments are 1MB aligned */