diff options
author | Helge Deller <deller@gmx.de> | 2023-12-01 21:20:50 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-01-28 09:49:46 +0100 |
commit | 2751153b9945c31eb905deb9fbe2d7f127b4b34c (patch) | |
tree | 4d3c9215ee20f53991a0160522121ffe83157802 /arch | |
parent | 8a696a29c6905594e4abf78eaafcb62165ac61f1 (diff) | |
download | lwn-2751153b9945c31eb905deb9fbe2d7f127b4b34c.tar.gz lwn-2751153b9945c31eb905deb9fbe2d7f127b4b34c.zip |
parisc: Make RO_DATA page aligned in vmlinux.lds.S
The rodata_test program for CONFIG_DEBUG_RODATA_TEST=y complains if
read-only data does not start at page boundary.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/kernel/vmlinux.lds.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S index 548051b0b4af..b445e47903cf 100644 --- a/arch/parisc/kernel/vmlinux.lds.S +++ b/arch/parisc/kernel/vmlinux.lds.S @@ -127,7 +127,7 @@ SECTIONS } #endif - RO_DATA(8) + RO_DATA(PAGE_SIZE) /* unwind info */ . = ALIGN(4); |