sh: Setup the frame register in asm code
[firefly-linux-kernel-4.4.55.git] / arch / sh / kernel / entry-common.S
index fc26ccd82789f0bc44e053f8d27e637e302d3a7a..b3b215fb21f7fe70cfc9f9e33d3466f8c84f7ba1 100644 (file)
@@ -285,6 +285,7 @@ ret_from_fork:
  * system calls and debug traps through their respective jump tables.
  */
 ENTRY(system_call)
+       setup_frame_reg
 #if !defined(CONFIG_CPU_SH2)
        mov.l   1f, r9
        mov.l   @r9, r8         ! Read from TRA (Trap Address) Register