aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/math-emu
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/math-emu')
-rw-r--r--arch/x86/math-emu/errors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/math-emu/errors.c b/arch/x86/math-emu/errors.c
index 145b68a99516..59d353d2c599 100644
--- a/arch/x86/math-emu/errors.c
+++ b/arch/x86/math-emu/errors.c
@@ -149,7 +149,7 @@ void FPU_printall(void)
149 printk("SW: invalid operation\n"); 149 printk("SW: invalid operation\n");
150#endif /* DEBUGGING */ 150#endif /* DEBUGGING */
151 151
152 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 */ 152 printk(" SW: b=%d st=%d es=%d sf=%d cc=%d%d%d%d ef=%d%d%d%d%d%d\n", partial_status & 0x8000 ? 1 : 0, /* busy */
153 (partial_status & 0x3800) >> 11, /* stack top pointer */ 153 (partial_status & 0x3800) >> 11, /* stack top pointer */
154 partial_status & 0x80 ? 1 : 0, /* Error summary status */ 154 partial_status & 0x80 ? 1 : 0, /* Error summary status */
155 partial_status & 0x40 ? 1 : 0, /* Stack flag */ 155 partial_status & 0x40 ? 1 : 0, /* Stack flag */
@@ -162,7 +162,7 @@ void FPU_printall(void)
162 partial_status & SW_Denorm_Op ? 1 : 0, 162 partial_status & SW_Denorm_Op ? 1 : 0,
163 partial_status & SW_Invalid ? 1 : 0); 163 partial_status & SW_Invalid ? 1 : 0);
164 164
165 printk(" CW: ic=%d rc=%ld%ld pc=%ld%ld iem=%d ef=%d%d%d%d%d%d\n", 165 printk(" CW: ic=%d rc=%d%d pc=%d%d iem=%d ef=%d%d%d%d%d%d\n",
166 control_word & 0x1000 ? 1 : 0, 166 control_word & 0x1000 ? 1 : 0,
167 (control_word & 0x800) >> 11, (control_word & 0x400) >> 10, 167 (control_word & 0x800) >> 11, (control_word & 0x400) >> 10,
168 (control_word & 0x200) >> 9, (control_word & 0x100) >> 8, 168 (control_word & 0x200) >> 9, (control_word & 0x100) >> 8,