1db1cc7aeSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
2db1cc7aeSThomas Gleixner #ifndef __ASM_GENERIC_SOFTIRQ_STACK_H
3db1cc7aeSThomas Gleixner #define __ASM_GENERIC_SOFTIRQ_STACK_H
4db1cc7aeSThomas Gleixner 
5*8cbb2b50SSebastian Andrzej Siewior #ifdef CONFIG_SOFTIRQ_ON_OWN_STACK
6db1cc7aeSThomas Gleixner void do_softirq_own_stack(void);
7db1cc7aeSThomas Gleixner #else
do_softirq_own_stack(void)8db1cc7aeSThomas Gleixner static inline void do_softirq_own_stack(void)
9db1cc7aeSThomas Gleixner {
10db1cc7aeSThomas Gleixner 	__do_softirq();
11db1cc7aeSThomas Gleixner }
12db1cc7aeSThomas Gleixner #endif
13db1cc7aeSThomas Gleixner 
14db1cc7aeSThomas Gleixner #endif
15