ARCv2: make unimplemented vectors as no-ops rather than halt core
authorVineet Gupta <vgupta@synopsys.com>
Tue, 21 Mar 2017 01:46:15 +0000 (18:46 -0700)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 21 Mar 2017 01:47:57 +0000 (18:47 -0700)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/entry-arcv2.S

index 2585632..cc558a2 100644 (file)
@@ -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)
 
 ; ---------------------------------------------