forked from Minki/linux
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: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
938e02beb3
commit
2ae6521504
13
arch/s390/include/asm/softirq_stack.h
Normal file
13
arch/s390/include/asm/softirq_stack.h
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
/* 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 */
|
@ -265,14 +265,6 @@ unsigned int arch_dynirq_lower_bound(unsigned int from)
|
|||||||
return from < NR_IRQS_BASE ? NR_IRQS_BASE : 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
|
* ext_int_hash[index] is the list head for all external interrupts that hash
|
||||||
* to this index.
|
* to this index.
|
||||||
|
Loading…
Reference in New Issue
Block a user