aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/kernel/traps.c')
-rw-r--r--arch/arc/kernel/traps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/kernel/traps.c b/arch/arc/kernel/traps.c
index 3eadfdabc322..c927aa84e652 100644
--- a/arch/arc/kernel/traps.c
+++ b/arch/arc/kernel/traps.c
@@ -42,7 +42,7 @@ void die(const char *str, struct pt_regs *regs, unsigned long address)
42 * -for kernel, chk if due to copy_(to|from)_user, otherwise die() 42 * -for kernel, chk if due to copy_(to|from)_user, otherwise die()
43 */ 43 */
44static noinline int 44static noinline int
45handle_exception(const char *str, struct pt_regs *regs, siginfo_t *info) 45unhandled_exception(const char *str, struct pt_regs *regs, siginfo_t *info)
46{ 46{
47 if (user_mode(regs)) { 47 if (user_mode(regs)) {
48 struct task_struct *tsk = current; 48 struct task_struct *tsk = current;
@@ -71,7 +71,7 @@ int name(unsigned long address, struct pt_regs *regs) \
71 .si_code = sicode, \ 71 .si_code = sicode, \
72 .si_addr = (void __user *)address, \ 72 .si_addr = (void __user *)address, \
73 }; \ 73 }; \
74 return handle_exception(str, regs, &info);\ 74 return unhandled_exception(str, regs, &info);\
75} 75}
76 76
77/* 77/*