Author: mhorne
Date: Sat Oct 24 23:21:51 2020
New Revision: 367033
URL: https://svnweb.freebsd.org/changeset/base/367033

Log:
  Fix build after r367020
  
  DTrace also relies on these definitions.
  
  Reported by:  jenkins

Modified:
  head/sys/cddl/dev/dtrace/riscv/dtrace_subr.c

Modified: head/sys/cddl/dev/dtrace/riscv/dtrace_subr.c
==============================================================================
--- head/sys/cddl/dev/dtrace/riscv/dtrace_subr.c        Sat Oct 24 23:21:31 
2020        (r367032)
+++ head/sys/cddl/dev/dtrace/riscv/dtrace_subr.c        Sat Oct 24 23:21:51 
2020        (r367033)
@@ -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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to