kernel: bump 4.4 to 4.4.167
[openwrt/staging/chunkeey.git] / target / linux / generic / patches-4.4 / 304-mips_disable_fpu.patch
index a08564dceabd85524efdb1f3e9165744595fa999..60b576c1a4e31e92e693bdb8f906326e416ccb12 100644 (file)
@@ -86,21 +86,21 @@ v2: incorporated changes suggested by Jonas Gorski
  extern int fpu_emulator_cop1Handler(struct pt_regs *xcp,
                                    struct mips_fpu_struct *ctx, int has_fpu,
                                    void *__user *fault_addr);
-+#else /* no CONFIG_MIPS_FPU_EMULATOR */
++#else  /* no CONFIG_MIPS_FPU_EMULATOR */
 +static inline int do_dsemulret(struct pt_regs *xcp)
 +{
-+      return 0;       /* 0 means error, should never get here anyway */
++      return 0;       /* 0 means error, should never get here anyway */
 +}
 +
 +static inline int fpu_emulator_cop1Handler(struct pt_regs *xcp,
-+                              struct mips_fpu_struct *ctx, int has_fpu,
-+                              void *__user *fault_addr)
++                                         struct mips_fpu_struct *ctx, int has_fpu,
++                                         void *__user *fault_addr)
 +{
 +      *fault_addr = NULL;
-+      return SIGILL;  /* we don't speak MIPS FPU */
++      return SIGILL;  /* we don't speak MIPS FPU */
 +}
-+#endif        /* CONFIG_MIPS_FPU_EMULATOR */
++#endif /* CONFIG_MIPS_FPU_EMULATOR */
 +
+ void force_fcr31_sig(unsigned long fcr31, void __user *fault_addr,
+                    struct task_struct *tsk);
  int process_fpemu_return(int sig, void __user *fault_addr,
-                        unsigned long fcr31);
- int mm_isBranchInstr(struct pt_regs *regs, struct mm_decoded_insn dec_insn,