summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2018-06-27 18:53:40 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-07-02 12:25:00 +0300
commitf56506ef3061f3362bb35a396f6951f7035b8294 (patch)
treed5be597557945259f000070adab647d7f285fd6f /arch/s390/kernel/vmlinux.lds.S
parentc949786450d6e19ef21f0837488a3dc1554131d6 (diff)
downloadlinux-f56506ef3061f3362bb35a396f6951f7035b8294.tar.xz
s390: move _text to an actual .text start
Since the uncompressed image .text section starts at 0x100000 now there is no need to redefine _text to something else to make perf happy. Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/vmlinux.lds.S')
-rw-r--r--arch/s390/kernel/vmlinux.lds.S7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S
index b3e95b9d99de..b43f8d33a369 100644
--- a/arch/s390/kernel/vmlinux.lds.S
+++ b/arch/s390/kernel/vmlinux.lds.S
@@ -34,13 +34,8 @@ SECTIONS
_stext = .; /* Start of text section */
.text : {
/* Text and read-only data */
+ _text = .;
HEAD_TEXT
- /*
- * E.g. perf doesn't like symbols starting at address zero,
- * therefore skip the initial PSW and channel program located
- * at address zero and let _text start at 0x200.
- */
- _text = 0x200;
TEXT_TEXT
SCHED_TEXT
CPUIDLE_TEXT