mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
MIPS: fpu.h: Fix build when CONFIG_BUG is not set
__enable_fpu produces a build failure when CONFIG_BUG is not set: In file included from arch/mips/kernel/cpu-probe.c:24:0: arch/mips/include/asm/fpu.h: In function '__enable_fpu': arch/mips/include/asm/fpu.h:77:1: error: control reaches end of non-void function [-Werror=return-type] This is regression introduced in 3.14-rc1. Fix that. Signed-off-by: Aaro Koskinen <[email protected]> Acked-by: Paul Burton <[email protected]> Cc: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/6504/ Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
parent
6776254b1c
commit
97b8b16bfc
1 changed files with 2 additions and 0 deletions
|
|
@ -74,6 +74,8 @@ static inline int __enable_fpu(enum fpu_mode mode)
|
|||
default:
|
||||
BUG();
|
||||
}
|
||||
|
||||
return SIGFPE;
|
||||
}
|
||||
|
||||
#define __disable_fpu() \
|
||||
|
|
|
|||
Loading…
Reference in a new issue