efivars: Refactor sanity checking code into separate function
[linux/fpc-iii.git] / arch / score / include / asm / irq_regs.h
blobb8e881c9a69fac45ad94e99675d7594bb0a94877
1 #ifndef _ASM_SCORE_IRQ_REGS_H
2 #define _ASM_SCORE_IRQ_REGS_H
4 #include <linux/thread_info.h>
6 static inline struct pt_regs *get_irq_regs(void)
8 return current_thread_info()->regs;
11 #endif /* _ASM_SCORE_IRQ_REGS_H */