diff options
author | Martin Cracauer <cracauer@FreeBSD.org> | 2000-03-20 10:22:19 +0000 |
---|---|---|
committer | Martin Cracauer <cracauer@FreeBSD.org> | 2000-03-20 10:22:19 +0000 |
commit | cce9dd21c10a6464e89cab4a58a252fd7e8f547e (patch) | |
tree | 3c88844e1e64b6e381c2e4e3a7a3425816d2223d /sys/amd64 | |
parent | 9ac61e92cad30805bb0bb83af58bfe7a5f6e8ec1 (diff) | |
download | src-cce9dd21c10a6464e89cab4a58a252fd7e8f547e.tar.gz src-cce9dd21c10a6464e89cab4a58a252fd7e8f547e.zip |
Exchange numerical values for FPE_INTDIV and FPE_INTOVF, so that they
are compatible with the older ones implemented in FreeBSD 3.x.
PR: 15488
Notes
Notes:
svn path=/head/; revision=58342
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/include/trap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/trap.h b/sys/amd64/include/trap.h index 6cc059a1e584..49066419b6d6 100644 --- a/sys/amd64/include/trap.h +++ b/sys/amd64/include/trap.h @@ -77,8 +77,8 @@ #define ILL_FPOP_FAULT T_FPOPFLT /* coprocessor operand fault */ /* portable macros for SIGFPE/ARITHTRAP */ -#define FPE_INTDIV 1 /* integer divide by zero */ -#define FPE_INTOVF 2 /* integer overflow */ +#define FPE_INTOVF 1 /* integer overflow */ +#define FPE_INTDIV 2 /* integer divide by zero */ #define FPE_FLTDIV 3 /* floating point divide by zero */ #define FPE_FLTOVF 4 /* floating point overflow */ #define FPE_FLTUND 5 /* floating point underflow */ |