patch-2.4.4 linux/arch/i386/math-emu/errors.c
Next file: linux/arch/i386/math-emu/exception.h
Previous file: linux/arch/i386/math-emu/div_Xsig.S
Back to the patch index
Back to the overall index
- Lines: 63
- Date:
Fri Apr 6 10:42:47 2001
- Orig file:
v2.4.3/linux/arch/i386/math-emu/errors.c
- Orig date:
Tue Dec 9 17:57:09 1997
diff -u --recursive --new-file v2.4.3/linux/arch/i386/math-emu/errors.c linux/arch/i386/math-emu/errors.c
@@ -141,7 +141,7 @@
if ( partial_status & SW_Zero_Div ) printk("SW: divide by zero\n");
if ( partial_status & SW_Denorm_Op ) printk("SW: denormalized operand\n");
if ( partial_status & SW_Invalid ) printk("SW: invalid operation\n");
-#endif DEBUGGING
+#endif /* DEBUGGING */
printk(" SW: b=%d st=%ld es=%d sf=%d cc=%d%d%d%d ef=%d%d%d%d%d%d\n",
partial_status & 0x8000 ? 1 : 0, /* busy */
@@ -327,7 +327,7 @@
#ifdef PRINT_MESSAGES
/* My message from the sponsor */
printk(FPU_VERSION" "__DATE__" (C) W. Metzenthen.\n");
-#endif PRINT_MESSAGES
+#endif /* PRINT_MESSAGES */
/* Get a name string for error reporting */
for (i=0; exception_names[i].type; i++)
@@ -338,7 +338,7 @@
{
#ifdef PRINT_MESSAGES
printk("FP Exception: %s!\n", exception_names[i].name);
-#endif PRINT_MESSAGES
+#endif /* PRINT_MESSAGES */
}
else
printk("FPU emulator: Unknown Exception: 0x%04x!\n", n);
@@ -351,7 +351,7 @@
#ifdef PRINT_MESSAGES
else
FPU_printall();
-#endif PRINT_MESSAGES
+#endif /* PRINT_MESSAGES */
/*
* The 80486 generates an interrupt on the next non-control FPU
@@ -363,7 +363,7 @@
#ifdef __DEBUG__
math_abort(FPU_info,SIGFPE);
-#endif __DEBUG__
+#endif /* __DEBUG__ */
}
@@ -469,7 +469,7 @@
else
#ifdef PARANOID
if (tagb == TW_NaN)
-#endif PARANOID
+#endif /* PARANOID */
{
signalling = !(b->sigh & 0x40000000);
x = b;
@@ -481,7 +481,7 @@
EXCEPTION(EX_INTERNAL|0x113);
x = &CONST_QNaN;
}
-#endif PARANOID
+#endif /* PARANOID */
if ( (!signalling) || (control_word & CW_Invalid) )
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)