Fix build after r367020

DTrace also relies on these definitions.

Reported by:	jenkins
This commit is contained in:
Mitchell Horne 2020-10-24 23:21:51 +00:00
parent e4fc8cadca
commit 6cb13a3058
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=367033

View File

@ -202,9 +202,9 @@ dtrace_trap(struct trapframe *frame, u_int type)
* All the rest will be handled in the usual way.
*/
switch (type) {
case EXCP_FAULT_LOAD:
case EXCP_FAULT_STORE:
case EXCP_FAULT_FETCH:
case SCAUSE_LOAD_ACCESS_FAULT:
case SCAUSE_STORE_ACCESS_FAULT:
case SCAUSE_INST_ACCESS_FAULT:
/* Flag a bad address. */
cpu_core[curcpu].cpuc_dtrace_flags |= CPU_DTRACE_BADADDR;
cpu_core[curcpu].cpuc_dtrace_illval = 0;