summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/include/asm/irq_regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/include/asm/irq_regs.h')
-rw-r--r--arch/mn10300/include/asm/irq_regs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mn10300/include/asm/irq_regs.h b/arch/mn10300/include/asm/irq_regs.h
index a848cd2..97d0cb5 100644
--- a/arch/mn10300/include/asm/irq_regs.h
+++ b/arch/mn10300/include/asm/irq_regs.h
@@ -18,7 +18,11 @@
#define ARCH_HAS_OWN_IRQ_REGS
#ifndef __ASSEMBLY__
-#define get_irq_regs() (__frame)
+static inline __attribute__((const))
+struct pt_regs *get_irq_regs(void)
+{
+ return current_frame();
+}
#endif
#endif /* _ASM_IRQ_REGS_H */
OpenPOWER on IntegriCloud