Commit 2ae65215 authored by Heiko Carstens's avatar Heiko Carstens Committed by Vasily Gorbik
Browse files

s390/irq: inline do_softirq_own_stack()



Move do_softirq_own_stack() to proper header file so it can be
inlined; saving a few cycles.

Reviewed-by: default avatarSven Schnelle <svens@linux.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent 938e02be
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef __ASM_S390_SOFTIRQ_STACK_H
#define __ASM_S390_SOFTIRQ_STACK_H

#include <asm/lowcore.h>
#include <asm/stacktrace.h>

static inline void do_softirq_own_stack(void)
{
	CALL_ON_STACK(__do_softirq, S390_lowcore.async_stack, 0);
}

#endif /* __ASM_S390_SOFTIRQ_STACK_H */
+0 −8
Original line number Diff line number Diff line
@@ -265,14 +265,6 @@ unsigned int arch_dynirq_lower_bound(unsigned int from)
	return from < NR_IRQS_BASE ? NR_IRQS_BASE : from;
}

/*
 * Switch to the asynchronous interrupt stack for softirq execution.
 */
void do_softirq_own_stack(void)
{
	CALL_ON_STACK(__do_softirq, S390_lowcore.async_stack, 0);
}

/*
 * ext_int_hash[index] is the list head for all external interrupts that hash
 * to this index.