From cce9dd21c10a6464e89cab4a58a252fd7e8f547e Mon Sep 17 00:00:00 2001 From: Martin Cracauer Date: Mon, 20 Mar 2000 10:22:19 +0000 Subject: [PATCH] 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 --- sys/amd64/include/trap.h | 4 ++-- 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 6cc059a1e58..49066419b6d 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 6cc059a1e58..49066419b6d 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 */