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/fbt/x86 PR/56355: Exclude the symbol...



details:   https://anonhg.NetBSD.org/src/rev/0ccc88dff96b
branches:  trunk
changeset: 1022993:0ccc88dff96b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Aug 18 11:26:17 2021 +0000

description:
PR/56355: Exclude the symbol trap, not all symbols other than trap.

diffstat:

 external/cddl/osnet/dev/fbt/x86/fbt_isa.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ffeb0df31ce2 -r 0ccc88dff96b external/cddl/osnet/dev/fbt/x86/fbt_isa.c
--- a/external/cddl/osnet/dev/fbt/x86/fbt_isa.c Wed Aug 18 09:34:45 2021 +0000
+++ b/external/cddl/osnet/dev/fbt/x86/fbt_isa.c Wed Aug 18 11:26:17 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fbt_isa.c,v 1.5 2021/08/15 16:33:57 christos Exp $     */
+/*     $NetBSD: fbt_isa.c,v 1.6 2021/08/18 11:26:17 riastradh Exp $    */
 
 /*
  * CDDL HEADER START
@@ -251,7 +251,7 @@
        /*
         * Exclude some more symbols which can be called from probe context.
         */
-       if (strcmp(name, "trap") ||
+       if (strcmp(name, "trap") == 0 ||
            strcmp(name, "x86_curcpu") == 0 ||
            strcmp(name, "x86_curlwp") == 0) {
                return 0;



Home | Main Index | Thread Index | Old Index