Skip to contentSkip to conversation

m32r: remove abort()

PATCH In review [email protected] 1 participant 1 message Feb 1, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 5/119 m32r: remove abort()

From: Sudip Mukherjee <[email protected]>
Subject: m32r: remove abort()

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.

---

 arch/m32r/kernel/traps.c |    8 --------
 1 file changed, 8 deletions(-)
arch/m32r/kernel/traps.c renamed from arch/m32r/kernel/traps.c~m32r-remove-abort +0 -7
diff -puN arch/m32r/kernel/traps.c~m32r-remove-abort 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");
-}