mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
11 lines
219 B
C
11 lines
219 B
C
#ifndef _ASM_SCORE_IRQ_REGS_H
|
|
#define _ASM_SCORE_IRQ_REGS_H
|
|
|
|
#include <linux/thread_info.h>
|
|
|
|
static inline struct pt_regs *get_irq_regs(void)
|
|
{
|
|
return current_thread_info()->regs;
|
|
}
|
|
|
|
#endif /* _ASM_SCORE_IRQ_REGS_H */
|