diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2022-12-07 17:15:19 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2023-01-06 16:38:21 +0100 |
commit | 45d619bdaf799196d702a9ae464b07066d6db2f9 (patch) | |
tree | 7d7c32634d4f358aeebba18bf725f442adfc2b9f /arch/s390/kernel/kprobes.c | |
parent | 0d4d52361b6c29bf771acd4fa461f06d78fb2fac (diff) | |
download | linux-45d619bdaf799196d702a9ae464b07066d6db2f9.tar.bz2 |
s390: expicitly align _edata and _end symbols on page boundary
Symbols _edata and _end in the linker script are the
only unaligned expicitly on page boundary. Although
_end is aligned implicitly by BSS_SECTION macro that
is still inconsistent and could lead to a bug if a tool
or function would assume that _edata is as aligned as
others.
For example, vmem_map_init() function does not align
symbols _etext, _einittext etc. Should these symbols
be unaligned as well, the size of ranges to update
were short on one page.
Instead of fixing every occurrence of this kind in the
code and external tools just force the alignment on
these two symbols.
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions