diff mbox

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

Message ID 1423705978-25592-1-git-send-email-yszhou4tech@gmail.com
State Accepted
Headers show

Commit Message

Yousong Zhou Feb. 12, 2015, 1:52 a.m. UTC
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
---
 target/linux/generic/patches-3.19/304-mips_disable_fpu.patch |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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;