aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/mm/hugetlbpage.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-06-30 12:40:25 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-07-04 09:25:22 +0200
commit46210c440c7b2d32a8ee4e1f0248d0a0b4ad9fa5 (patch)
tree4647f74f52b56a2024c9b06315472e84a634c3a5 /arch/s390/mm/hugetlbpage.c
parents390/cpuinfo: show maximum thread id (diff)
downloadlinux-dev-46210c440c7b2d32a8ee4e1f0248d0a0b4ad9fa5.tar.xz
linux-dev-46210c440c7b2d32a8ee4e1f0248d0a0b4ad9fa5.zip
s390: have unique symbol for __switch_to address
After linking there are several symbols for the same address that the __switch_to symbol points to. E.g.: 000000000089b9c0 T __kprobes_text_start 000000000089b9c0 T __lock_text_end 000000000089b9c0 T __lock_text_start 000000000089b9c0 T __sched_text_end 000000000089b9c0 T __switch_to When disassembling with "objdump -d" this results in a missing __switch_to function. It would be named __kprobes_text_start instead. To unconfuse objdump add a nop in front of the kprobes text section. That way __switch_to appears again. Obviously this solution is sort of a hack, since it also depends on link order if this works or not. However it is the best I can come up with for now. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm/hugetlbpage.c')
0 files changed, 0 insertions, 0 deletions