Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dev/dtrace/amd64 There is no such functi...



details:   https://anonhg.NetBSD.org/src/rev/c2fc589e052e
branches:  trunk
changeset: 447458:c2fc589e052e
user:      hannken <hannken%NetBSD.org@localhost>
date:      Sat Jan 12 10:41:31 2019 +0000

description:
There is no such function read_rflags(), probably meant x86_read_flags().

diffstat:

 external/cddl/osnet/dev/dtrace/amd64/dtrace_subr.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 85c9e7df4b41 -r c2fc589e052e external/cddl/osnet/dev/dtrace/amd64/dtrace_subr.c
--- a/external/cddl/osnet/dev/dtrace/amd64/dtrace_subr.c        Fri Jan 11 23:10:40 2019 +0000
+++ b/external/cddl/osnet/dev/dtrace/amd64/dtrace_subr.c        Sat Jan 12 10:41:31 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dtrace_subr.c,v 1.11 2018/08/16 14:14:51 christos Exp $        */
+/*     $NetBSD: dtrace_subr.c,v 1.12 2019/01/12 10:41:31 hannken Exp $ */
 
 /*
  * CDDL HEADER START
@@ -412,7 +412,7 @@
         */
        nofault = (cpu_core[cpuid].cpuc_dtrace_flags & CPU_DTRACE_NOFAULT) != 0;
        if (nofault) {
-               KASSERTMSG((read_rflags() & PSL_I) == 0, "interrupts enabled");
+               KASSERTMSG((x86_read_flags() & PSL_I) == 0, "interrupts enabled");
 
                /*
                 * There are only a couple of trap types that are expected.



Home | Main Index | Thread Index | Old Index