summaryrefslogtreecommitdiffstats
path: root/arch/x86/math-emu/reg_constant.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/math-emu/reg_constant.c')
-rw-r--r--arch/x86/math-emu/reg_constant.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/math-emu/reg_constant.c b/arch/x86/math-emu/reg_constant.c
index 742619e94b..003a0b2753 100644
--- a/arch/x86/math-emu/reg_constant.c
+++ b/arch/x86/math-emu/reg_constant.c
@@ -108,8 +108,13 @@ static void fldz(int rc)
typedef void (*FUNC_RC) (int);
+static void FPU_RC_illegal(int unused)
+{
+ FPU_illegal();
+}
+
static FUNC_RC constants_table[] = {
- fld1, fldl2t, fldl2e, fldpi, fldlg2, fldln2, fldz, (FUNC_RC) FPU_illegal
+ fld1, fldl2t, fldl2e, fldpi, fldlg2, fldln2, fldz, FPU_RC_illegal
};
void fconst(void)