2009-06-12 22:01:00 +08:00
|
|
|
#ifndef _ASM_SCORE_IRQ_REGS_H
|
|
|
|
#define _ASM_SCORE_IRQ_REGS_H
|
|
|
|
|
2009-08-30 12:30:16 +08:00
|
|
|
#include <linux/thread_info.h>
|
|
|
|
|
|
|
|
static inline struct pt_regs *get_irq_regs(void)
|
|
|
|
{
|
|
|
|
return current_thread_info()->regs;
|
|
|
|
}
|
2009-06-12 22:01:00 +08:00
|
|
|
|
|
|
|
#endif /* _ASM_SCORE_IRQ_REGS_H */
|