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