mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-19 05:06:53 +00:00
ARC: rename unhandled exception handler
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
parent
dc9e234f91
commit
0dfb8ec70f
1 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ void die(const char *str, struct pt_regs *regs, unsigned long address)
|
||||||
* -for kernel, chk if due to copy_(to|from)_user, otherwise die()
|
* -for kernel, chk if due to copy_(to|from)_user, otherwise die()
|
||||||
*/
|
*/
|
||||||
static noinline int
|
static noinline int
|
||||||
handle_exception(const char *str, struct pt_regs *regs, siginfo_t *info)
|
unhandled_exception(const char *str, struct pt_regs *regs, siginfo_t *info)
|
||||||
{
|
{
|
||||||
if (user_mode(regs)) {
|
if (user_mode(regs)) {
|
||||||
struct task_struct *tsk = current;
|
struct task_struct *tsk = current;
|
||||||
|
|
@ -71,7 +71,7 @@ int name(unsigned long address, struct pt_regs *regs) \
|
||||||
.si_code = sicode, \
|
.si_code = sicode, \
|
||||||
.si_addr = (void __user *)address, \
|
.si_addr = (void __user *)address, \
|
||||||
}; \
|
}; \
|
||||||
return handle_exception(str, regs, &info);\
|
return unhandled_exception(str, regs, &info);\
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue