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