]> Git Repo - linux.git/blob - arch/s390/kernel/head64.S
fs/binfmt_elf: use PT_LOAD p_align values for static PIE
[linux.git] / arch / s390 / kernel / head64.S
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright IBM Corp. 1999, 2010
4  *
5  *   Author(s): Hartmut Penner <[email protected]>
6  *              Martin Schwidefsky <[email protected]>
7  *              Rob van der Heij <[email protected]>
8  *              Heiko Carstens <[email protected]>
9  *
10  */
11
12 #include <linux/init.h>
13 #include <linux/linkage.h>
14 #include <asm/asm-offsets.h>
15 #include <asm/thread_info.h>
16 #include <asm/page.h>
17 #include <asm/ptrace.h>
18
19 __HEAD
20 ENTRY(startup_continue)
21         larl    %r1,tod_clock_base
22         mvc     0(16,%r1),__LC_BOOT_CLOCK
23 #
24 # Setup stack
25 #
26         larl    %r14,init_task
27         stg     %r14,__LC_CURRENT
28         larl    %r15,init_thread_union+THREAD_SIZE-STACK_FRAME_OVERHEAD-__PT_SIZE
29 #ifdef CONFIG_KASAN
30         brasl   %r14,kasan_early_init
31 #endif
32         brasl   %r14,startup_init               # s390 specific early init
33         brasl   %r14,start_kernel               # common init code
34 #
35 # We returned from start_kernel ?!? PANIK
36 #
37         basr    %r13,0
38         lpswe   .Ldw-.(%r13)            # load disabled wait psw
39
40         .align  16
41 .LPG1:
42 .Ldw:   .quad   0x0002000180000000,0x0000000000000000
This page took 0.036609 seconds and 4 git commands to generate.