diff options
author | cracauer <cracauer@FreeBSD.org> | 2000-03-20 10:22:19 +0000 |
---|---|---|
committer | cracauer <cracauer@FreeBSD.org> | 2000-03-20 10:22:19 +0000 |
commit | b5d5962ead3d0a229bec5b1c9f6f46caf46b17d5 (patch) | |
tree | 09409d6c6fcd787d652acde010fd23b76d27b2d9 /sys | |
parent | a3b1ba7eaac9583346525bb5f38be0fccbae9b93 (diff) | |
download | FreeBSD-src-b5d5962ead3d0a229bec5b1c9f6f46caf46b17d5.zip FreeBSD-src-b5d5962ead3d0a229bec5b1c9f6f46caf46b17d5.tar.gz |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/include/trap.h | 4 | ||||
-rw-r--r-- | sys/i386/include/trap.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/include/trap.h b/sys/amd64/include/trap.h index 6cc059a..4906641 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 */ diff --git a/sys/i386/include/trap.h b/sys/i386/include/trap.h index 6cc059a..4906641 100644 --- a/sys/i386/include/trap.h +++ b/sys/i386/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 */ |