diff options
author | John Baldwin <jhb@FreeBSD.org> | 2018-03-27 20:57:51 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2018-03-27 20:57:51 +0000 |
commit | d41e41f9f0ba9fdd2916584215b88ef7725280d7 (patch) | |
tree | 25879fe1e48879b3612d44e0b21f7c56bbc544b3 /sys/i386/i386/trap.c | |
parent | edf95feba46586823169a9961a10a5eea37866db (diff) | |
download | src-d41e41f9f0ba9fdd2916584215b88ef7725280d7.tar.gz src-d41e41f9f0ba9fdd2916584215b88ef7725280d7.zip |
Remove very old and unused signal information codes.
These have been supplanted by the MI signal information codes in
<sys/signal.h> since 7.0. The FPE_*_TRAP ones were deprecated even
earlier in 1999.
PR: 226579 (exp-run)
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D14637
Notes
Notes:
svn path=/head/; revision=331650
Diffstat (limited to 'sys/i386/i386/trap.c')
-rw-r--r-- | sys/i386/i386/trap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c index 996ebc495e0c..86dd43385600 100644 --- a/sys/i386/i386/trap.c +++ b/sys/i386/i386/trap.c @@ -97,6 +97,7 @@ PMC_SOFT_DEFINE( , , page_fault, write); #include <machine/smp.h> #endif #include <machine/stack.h> +#include <machine/trap.h> #include <machine/tss.h> #include <machine/vm86.h> @@ -416,14 +417,14 @@ user_trctrap_out: ucode = SEGV_ACCERR; } else { signo = SIGBUS; - ucode = BUS_PAGE_FAULT; + ucode = T_PAGEFLT; } } else if (prot_fault_translation == 1) { /* * Always compat mode. */ signo = SIGBUS; - ucode = BUS_PAGE_FAULT; + ucode = T_PAGEFLT; } else { /* * Always SIGSEGV mode. |