[OpenWrt-Devel] [PATCH] generic: fix broken patch in the transition of 3.19 from -rc5 to release .0

Yousong Zhou yszhou4tech at gmail.com
Wed Feb 11 20:52:57 EST 2015


Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
 target/linux/generic/patches-3.19/304-mips_disable_fpu.patch |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/generic/patches-3.19/304-mips_disable_fpu.patch b/target/linux/generic/patches-3.19/304-mips_disable_fpu.patch
index 8413dba..30eeb88 100644
--- a/target/linux/generic/patches-3.19/304-mips_disable_fpu.patch
+++ b/target/linux/generic/patches-3.19/304-mips_disable_fpu.patch
@@ -39,7 +39,7 @@
  		write_c0_config5(config5);
  		enable_fpu_hazard();
 -	} else
-+	} else (IS_ENABLED(CONFIG_MIPS_FPU_EMULATOR))
++	} else if (IS_ENABLED(CONFIG_MIPS_FPU_EMULATOR))
  		fpu_emulator_init_fpu();
 +	else
 +		ret = SIGILL;
-- 
1.7.10.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list