Skip to content

Commit b55e692

Browse files
hcahcaVasily Gorbik
authored andcommitted
s390: rename CALL_ON_STACK_NORETURN() to call_on_stack_noreturn()
Lower case matches the call_on_stack() macro and is easier to read. Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
1 parent a9b6608 commit b55e692

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

arch/s390/include/asm/stacktrace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ struct stack_frame {
189189
(rettype)r2; \
190190
})
191191

192-
#define CALL_ON_STACK_NORETURN(fn, stack) \
192+
#define call_on_stack_noreturn(fn, stack) \
193193
({ \
194194
void (*__fn)(void) = fn; \
195195
\

arch/s390/kernel/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ void __init arch_call_rest_init(void)
354354
set_task_stack_end_magic(current);
355355
stack += STACK_INIT_OFFSET;
356356
S390_lowcore.kernel_stack = stack;
357-
CALL_ON_STACK_NORETURN(rest_init, stack);
357+
call_on_stack_noreturn(rest_init, stack);
358358
}
359359

360360
static void __init setup_lowcore_dat_off(void)

arch/s390/kernel/smp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ static void __no_sanitize_address smp_start_secondary(void *cpuvoid)
902902
S390_lowcore.restart_source = -1UL;
903903
__ctl_load(S390_lowcore.cregs_save_area, 0, 15);
904904
__load_psw_mask(PSW_KERNEL_BITS | PSW_MASK_DAT);
905-
CALL_ON_STACK_NORETURN(smp_init_secondary, S390_lowcore.kernel_stack);
905+
call_on_stack_noreturn(smp_init_secondary, S390_lowcore.kernel_stack);
906906
}
907907

908908
/* Upping and downing of CPUs */

0 commit comments

Comments
 (0)