patch-2.1.87 linux/arch/alpha/kernel/traps.c
Next file: linux/arch/alpha/math-emu/Makefile
Previous file: linux/arch/alpha/kernel/osf_sys.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Feb 12 13:31:28 1998
- Orig file:
v2.1.86/linux/arch/alpha/kernel/traps.c
- Orig date:
Thu Feb 12 20:56:04 1998
diff -u --recursive --new-file v2.1.86/linux/arch/alpha/kernel/traps.c linux/arch/alpha/kernel/traps.c
@@ -105,14 +105,24 @@
do_exit(SIGSEGV);
}
+#ifndef CONFIG_MATHEMU
+static long dummy_alpha_fp_emul_imprecise(struct pt_regs *r, unsigned long wm)
+{
+ return 0;
+}
+
+long (*alpha_fp_emul_imprecise)(struct pt_regs *regs, unsigned long writemask)
+ = dummy_alpha_fp_emul_imprecise;
+#else
+long alpha_fp_emul_imprecise(struct pt_regs *regs, unsigned long writemask);
+#endif
+
asmlinkage void do_entArith(unsigned long summary, unsigned long write_mask,
unsigned long a2, unsigned long a3,
unsigned long a4, unsigned long a5,
struct pt_regs regs)
{
if ((summary & 1)) {
- extern long alpha_fp_emul_imprecise (struct pt_regs * regs,
- unsigned long write_mask);
/*
* Software-completion summary bit is set, so try to
* emulate the instruction.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov