]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
6bc9a396 CL |
2 | #ifndef _ASM_SCORE_IRQ_REGS_H |
3 | #define _ASM_SCORE_IRQ_REGS_H | |
4 | ||
ffa818b4 CL |
5 | #include <linux/thread_info.h> |
6 | ||
7 | static inline struct pt_regs *get_irq_regs(void) | |
8 | { | |
9 | return current_thread_info()->regs; | |
10 | } | |
6bc9a396 CL |
11 | |
12 | #endif /* _ASM_SCORE_IRQ_REGS_H */ |