diff options
author | Sudip Mukherjee | 2018-02-01 01:14:17 +0100 |
---|---|---|
committer | Linus Torvalds | 2018-02-01 02:18:34 +0100 |
commit | d91dad45ba90859385767f91de2197752e52431d (patch) | |
tree | 0e06d1ccba9433bfc728aa938d47b353795a95a6 /arch/m32r | |
parent | scripts/tags.sh: change find_other_sources() for include directories (diff) | |
download | kernel-qcow2-linux-d91dad45ba90859385767f91de2197752e52431d.tar.gz kernel-qcow2-linux-d91dad45ba90859385767f91de2197752e52431d.tar.xz kernel-qcow2-linux-d91dad45ba90859385767f91de2197752e52431d.zip |
m32r: remove abort()
Commit 7c2c11b208be ("arch: define weak abort()") has introduced a weak
abort() which is common for all arch. And, so we will not need arch
specific abort which has the same code as the weak abort(). Remove the
abort() for m32r.
Link: http://lkml.kernel.org/r/1516912339-5665-1-git-send-email-sudipm.mukherjee@gmail.com
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m32r')
-rw-r--r-- | arch/m32r/kernel/traps.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/m32r/kernel/traps.c b/arch/m32r/kernel/traps.c index b88a8dd14933..a6f300a208bd 100644 --- a/arch/m32r/kernel/traps.c +++ b/arch/m32r/kernel/traps.c @@ -115,14 +115,6 @@ static void set_eit_vector_entries(void) _flush_cache_copyback_all(); } -void abort(void) -{ - BUG(); - - /* if that doesn't kill us, halt */ - panic("Oops failed to kill thread"); -} - void __init trap_init(void) { set_eit_vector_entries(); |