Skip to contentSkip to conversation

m32r: remove abort()

PATCH Applied Sudip Mukherjee 1 participant 1 message Jan 25, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

Has been build tested with all possible m32 configuration.

All build pipelines at:
https://gitlab.com/sudipm/linux-next/pipelines/16586880

 arch/m32r/kernel/traps.c | 8 --------
 1 file changed, 8 deletions(-)
arch/m32r/kernel/traps.c +0 -8
index b88a8dd..a6f300a 100644
@@ -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();
Signature · 1 line
2.7.4