From: Vasily Gorbik Date: Wed, 27 Jun 2018 15:53:40 +0000 (+0200) Subject: s390: move _text to an actual .text start X-Git-Tag: v4.19~461^2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f56506ef3061f3362bb35a396f6951f7035b8294;p=platform%2Fkernel%2Flinux-rpi3.git 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 Signed-off-by: Vasily Gorbik Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S index b3e95b9..b43f8d3 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