diff options
Diffstat (limited to 'arch/x86/math-emu/errors.c')
| -rw-r--r-- | arch/x86/math-emu/errors.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/x86/math-emu/errors.c b/arch/x86/math-emu/errors.c index a5449089cd9f..9e6545f269e5 100644 --- a/arch/x86/math-emu/errors.c +++ b/arch/x86/math-emu/errors.c | |||
| @@ -302,7 +302,7 @@ static struct { | |||
| 302 | 0x242 in div_Xsig.S | 302 | 0x242 in div_Xsig.S |
| 303 | */ | 303 | */ |
| 304 | 304 | ||
| 305 | asmlinkage void FPU_exception(int n) | 305 | asmlinkage __visible void FPU_exception(int n) |
| 306 | { | 306 | { |
| 307 | int i, int_type; | 307 | int i, int_type; |
| 308 | 308 | ||
| @@ -492,7 +492,7 @@ int real_2op_NaN(FPU_REG const *b, u_char tagb, | |||
| 492 | 492 | ||
| 493 | /* Invalid arith operation on Valid registers */ | 493 | /* Invalid arith operation on Valid registers */ |
| 494 | /* Returns < 0 if the exception is unmasked */ | 494 | /* Returns < 0 if the exception is unmasked */ |
| 495 | asmlinkage int arith_invalid(int deststnr) | 495 | asmlinkage __visible int arith_invalid(int deststnr) |
| 496 | { | 496 | { |
| 497 | 497 | ||
| 498 | EXCEPTION(EX_Invalid); | 498 | EXCEPTION(EX_Invalid); |
| @@ -507,7 +507,7 @@ asmlinkage int arith_invalid(int deststnr) | |||
| 507 | } | 507 | } |
| 508 | 508 | ||
| 509 | /* Divide a finite number by zero */ | 509 | /* Divide a finite number by zero */ |
| 510 | asmlinkage int FPU_divide_by_zero(int deststnr, u_char sign) | 510 | asmlinkage __visible int FPU_divide_by_zero(int deststnr, u_char sign) |
| 511 | { | 511 | { |
| 512 | FPU_REG *dest = &st(deststnr); | 512 | FPU_REG *dest = &st(deststnr); |
| 513 | int tag = TAG_Valid; | 513 | int tag = TAG_Valid; |
| @@ -539,7 +539,7 @@ int set_precision_flag(int flags) | |||
| 539 | } | 539 | } |
| 540 | 540 | ||
| 541 | /* This may be called often, so keep it lean */ | 541 | /* This may be called often, so keep it lean */ |
| 542 | asmlinkage void set_precision_flag_up(void) | 542 | asmlinkage __visible void set_precision_flag_up(void) |
| 543 | { | 543 | { |
| 544 | if (control_word & CW_Precision) | 544 | if (control_word & CW_Precision) |
| 545 | partial_status |= (SW_Precision | SW_C1); /* The masked response */ | 545 | partial_status |= (SW_Precision | SW_C1); /* The masked response */ |
| @@ -548,7 +548,7 @@ asmlinkage void set_precision_flag_up(void) | |||
| 548 | } | 548 | } |
| 549 | 549 | ||
| 550 | /* This may be called often, so keep it lean */ | 550 | /* This may be called often, so keep it lean */ |
| 551 | asmlinkage void set_precision_flag_down(void) | 551 | asmlinkage __visible void set_precision_flag_down(void) |
| 552 | { | 552 | { |
| 553 | if (control_word & CW_Precision) { /* The masked response */ | 553 | if (control_word & CW_Precision) { /* The masked response */ |
| 554 | partial_status &= ~SW_C1; | 554 | partial_status &= ~SW_C1; |
| @@ -557,7 +557,7 @@ asmlinkage void set_precision_flag_down(void) | |||
| 557 | EXCEPTION(EX_Precision); | 557 | EXCEPTION(EX_Precision); |
| 558 | } | 558 | } |
| 559 | 559 | ||
| 560 | asmlinkage int denormal_operand(void) | 560 | asmlinkage __visible int denormal_operand(void) |
| 561 | { | 561 | { |
| 562 | if (control_word & CW_Denormal) { /* The masked response */ | 562 | if (control_word & CW_Denormal) { /* The masked response */ |
| 563 | partial_status |= SW_Denorm_Op; | 563 | partial_status |= SW_Denorm_Op; |
| @@ -568,7 +568,7 @@ asmlinkage int denormal_operand(void) | |||
| 568 | } | 568 | } |
| 569 | } | 569 | } |
| 570 | 570 | ||
| 571 | asmlinkage int arith_overflow(FPU_REG *dest) | 571 | asmlinkage __visible int arith_overflow(FPU_REG *dest) |
| 572 | { | 572 | { |
| 573 | int tag = TAG_Valid; | 573 | int tag = TAG_Valid; |
| 574 | 574 | ||
| @@ -596,7 +596,7 @@ asmlinkage int arith_overflow(FPU_REG *dest) | |||
| 596 | 596 | ||
| 597 | } | 597 | } |
| 598 | 598 | ||
| 599 | asmlinkage int arith_underflow(FPU_REG *dest) | 599 | asmlinkage __visible int arith_underflow(FPU_REG *dest) |
| 600 | { | 600 | { |
| 601 | int tag = TAG_Valid; | 601 | int tag = TAG_Valid; |
| 602 | 602 | ||
