root/kernel/math/error.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. math_error

   1 /*
   2  * linux/kernel/math/error.c
   3  *
   4  * (C) 1991 Linus Torvalds
   5  */
   6 
   7 #include <signal.h>
   8 
   9 #include <linux/sched.h>
  10 
  11 void math_error(void)
     /* [previous][next][first][last][top][bottom][index][help] */
  12 {
  13         if (last_task_used_math)
  14                 last_task_used_math->signal |= 1<<(SIGFPE-1);
  15         __asm__("fnclex");
  16 }

/* [previous][next][first][last][top][bottom][index][help] */