summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/early.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-08-01 17:16:11 +0200
committerVasily Gorbik <gor@linux.ibm.com>2024-08-22 19:28:11 +0200
commit0bc6a69f5fda17c907dfdf5850a293d13010e9e5 (patch)
treed073b424012417df87a1b965014865c923b7b35a /arch/s390/kernel/early.c
parentb495e710157606889f2d8bdc62aebf2aa02f67a7 (diff)
s390/early: Add __init to __do_early_pgm_check()
__do_early_pgm_check() is a function which is only needed during early setup code. Mark it __init in order to save a few bytes. Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Acked-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/early.c')
-rw-r--r--arch/s390/kernel/early.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c
index 0242fa78c918..25ce02be77a3 100644
--- a/arch/s390/kernel/early.c
+++ b/arch/s390/kernel/early.c
@@ -175,7 +175,7 @@ static __init void setup_topology(void)
topology_max_mnest = max_mnest;
}
-void __do_early_pgm_check(struct pt_regs *regs)
+void __init __do_early_pgm_check(struct pt_regs *regs)
{
struct lowcore *lc = get_lowcore();
unsigned long ip;