diff options
author | Heiko Carstens <[email protected]> | 2024-08-01 11:48:26 +0200 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2024-08-07 20:52:53 +0200 |
commit | 85878ff1b31f376a37b885824851fa8c1c3ae048 (patch) | |
tree | 9cd29f50d17ebf7793ca7aee2252215c996bbb66 | |
parent | 3c4d0ae0671827f4b536cc2d26f8b9c54584ccc5 (diff) |
s390/entry: Move early_pgm_check_handler() to init text section
Save some bytes and move early_pgm_check_handler() to init text
section.
Reviewed-by: Alexander Gordeev <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
-rw-r--r-- | arch/s390/kernel/entry.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S index 6539ec4800cd..36424e53d63b 100644 --- a/arch/s390/kernel/entry.S +++ b/arch/s390/kernel/entry.S @@ -599,6 +599,7 @@ SYM_CODE_START(restart_int_handler) 3: j 3b SYM_CODE_END(restart_int_handler) + __INIT SYM_CODE_START(early_pgm_check_handler) STMG_LC %r8,%r15,__LC_SAVE_AREA_SYNC GET_LC %r13 @@ -614,6 +615,7 @@ SYM_CODE_START(early_pgm_check_handler) lmg %r0,%r15,STACK_FRAME_OVERHEAD+__PT_R0(%r15) LPSWEY __LC_RETURN_PSW,__LC_RETURN_LPSWE SYM_CODE_END(early_pgm_check_handler) + __FINIT .section .kprobes.text, "ax" |