diff options
Diffstat (limited to 'arch/x86/math-emu/errors.c')
-rw-r--r-- | arch/x86/math-emu/errors.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/math-emu/errors.c b/arch/x86/math-emu/errors.c index 6b468517ab71..73dc66d887f3 100644 --- a/arch/x86/math-emu/errors.c +++ b/arch/x86/math-emu/errors.c | |||
@@ -178,13 +178,15 @@ void FPU_printall(void) | |||
178 | for (i = 0; i < 8; i++) { | 178 | for (i = 0; i < 8; i++) { |
179 | FPU_REG *r = &st(i); | 179 | FPU_REG *r = &st(i); |
180 | u_char tagi = FPU_gettagi(i); | 180 | u_char tagi = FPU_gettagi(i); |
181 | |||
181 | switch (tagi) { | 182 | switch (tagi) { |
182 | case TAG_Empty: | 183 | case TAG_Empty: |
183 | continue; | 184 | continue; |
184 | break; | ||
185 | case TAG_Zero: | 185 | case TAG_Zero: |
186 | case TAG_Special: | 186 | case TAG_Special: |
187 | /* Update tagi for the printk below */ | ||
187 | tagi = FPU_Special(r); | 188 | tagi = FPU_Special(r); |
189 | /* fall through */ | ||
188 | case TAG_Valid: | 190 | case TAG_Valid: |
189 | printk("st(%d) %c .%04lx %04lx %04lx %04lx e%+-6d ", i, | 191 | printk("st(%d) %c .%04lx %04lx %04lx %04lx e%+-6d ", i, |
190 | getsign(r) ? '-' : '+', | 192 | getsign(r) ? '-' : '+', |
@@ -198,7 +200,6 @@ void FPU_printall(void) | |||
198 | printk("Whoops! Error in errors.c: tag%d is %d ", i, | 200 | printk("Whoops! Error in errors.c: tag%d is %d ", i, |
199 | tagi); | 201 | tagi); |
200 | continue; | 202 | continue; |
201 | break; | ||
202 | } | 203 | } |
203 | printk("%s\n", tag_desc[(int)(unsigned)tagi]); | 204 | printk("%s\n", tag_desc[(int)(unsigned)tagi]); |
204 | } | 205 | } |