aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/traps.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-10-13 05:59:50 -0400
committerVineet Gupta <vgupta@synopsys.com>2015-04-13 05:44:57 -0400
commit0dfb8ec70fd67be02096eaf9898feb94950d6f06 (patch)
tree8423d19fa2b718a15dfd0691392f97c94a0f62f6 /arch/arc/kernel/traps.c
parentdc9e234f91c77a98a8911bf02619275f51b14bfc (diff)
ARC: rename unhandled exception handler
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
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/*