summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/trap.h
diff options
context:
space:
mode:
authorcracauer <cracauer@FreeBSD.org>2000-03-20 10:22:19 +0000
committercracauer <cracauer@FreeBSD.org>2000-03-20 10:22:19 +0000
commitb5d5962ead3d0a229bec5b1c9f6f46caf46b17d5 (patch)
tree09409d6c6fcd787d652acde010fd23b76d27b2d9 /sys/amd64/include/trap.h
parenta3b1ba7eaac9583346525bb5f38be0fccbae9b93 (diff)
downloadFreeBSD-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/amd64/include/trap.h')
-rw-r--r--sys/amd64/include/trap.h4
1 files changed, 2 insertions, 2 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 */
OpenPOWER on IntegriCloud