diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2009-03-05 19:42:11 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2009-03-05 19:42:11 +0000 |
| commit | 2ee8325f42c08ba86267361d71817b035fc3d1e0 (patch) | |
| tree | 156c16702c286b02c436fdf8c8a1140bab925e8b /sys/compat/linux/linux_misc.h | |
| parent | 8a93629e418b741a2302912b25a77e990a64f5da (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_misc.h')
| -rw-r--r-- | sys/compat/linux/linux_misc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_misc.h b/sys/compat/linux/linux_misc.h index 37991f35f70f..eddcd2cad748 100644 --- a/sys/compat/linux/linux_misc.h +++ b/sys/compat/linux/linux_misc.h @@ -60,4 +60,9 @@ extern const char *linux_platform; */ #define LINUX_AT_EXECFN 31 /* filename of program */ +/* Linux sets the i387 to extended precision. */ +#if defined(__i386__) || defined(__amd64__) +#define __LINUX_NPXCW__ 0x37f +#endif + #endif /* _LINUX_MISC_H_ */ |
