Răsfoiți Sursa

ARCv2: make unimplemented vectors as no-ops rather than halt core

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Vineet Gupta 8 ani în urmă
părinte
comite
814a585038
1 a modificat fișierele cu 9 adăugiri și 3 ștergeri
  1. 9 3
      arch/arc/kernel/entry-arcv2.S

+ 9 - 3
arch/arc/kernel/entry-arcv2.S

@@ -100,15 +100,21 @@ END(handle_interrupt)
 ;################### Non TLB Exception Handling #############################
 
 ENTRY(EV_SWI)
-	flag 1
+	; TODO: implement this
+	EXCEPTION_PROLOGUE
+	b   ret_from_exception
 END(EV_SWI)
 
 ENTRY(EV_DivZero)
-	flag 1
+	; TODO: implement this
+	EXCEPTION_PROLOGUE
+	b   ret_from_exception
 END(EV_DivZero)
 
 ENTRY(EV_DCError)
-	flag 1
+	; TODO: implement this
+	EXCEPTION_PROLOGUE
+	b   ret_from_exception
 END(EV_DCError)
 
 ; ---------------------------------------------