sh: Setup frame pointer in handle_exception path
[pandora-kernel.git] / arch / sh / kernel / cpu / sh3 / entry.S
index 3f7e2a2..29021bc 100644 (file)
@@ -365,6 +365,8 @@ handle_exception:
         mov.l  @k2, k2         ! read out vector and keep in k2
 
 handle_exception_special:
+       setup_frame_reg
+
        ! Setup return address and jump to exception handler
        mov.l   7f, r9          ! fetch return address
        stc     r2_bank, r0     ! k2 (vector)