patch-1.3.71 linux/arch/alpha/math-emu/fp-emul.c

Next file: linux/arch/i386/kernel/smp.c
Previous file: linux/arch/alpha/kernel/ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.70/linux/arch/alpha/math-emu/fp-emul.c linux/arch/alpha/math-emu/fp-emul.c
@@ -32,10 +32,10 @@
  */
 #define FLTI_FUNC_ADDS			0x000
 #define FLTI_FUNC_ADDT			0x020
-#define FLTI_FUNC_CMPTEQ		0x0a5
-#define FLTI_FUNC_CMPTLT		0x0a6
-#define FLTI_FUNC_CMPTLE		0x0a7
-#define FLTI_FUNC_CMPTUN		0x0a4
+#define FLTI_FUNC_CMPTEQ		0x025
+#define FLTI_FUNC_CMPTLT		0x026
+#define FLTI_FUNC_CMPTLE		0x027
+#define FLTI_FUNC_CMPTUN		0x024
 #define FLTI_FUNC_CVTTS_or_CVTST	0x02c
 #define FLTI_FUNC_CVTTQ			0x02f
 #define FLTI_FUNC_CVTQS			0x03c
@@ -288,8 +288,8 @@
 		break;
 
 	      default:
-		printk("alpha_fp_emul: unexpected function code %#lx at %#lx",
-		       opcode, pc);
+		printk("alpha_fp_emul: unexpected function code %#lx at %#lx\n",
+		       func & 0x3f, pc);
 		return 0;
 	}
 	/*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this