Module Name: src Committed By: riastradh Date: Wed Aug 18 11:26:17 UTC 2021
Modified Files: src/external/cddl/osnet/dev/fbt/x86: fbt_isa.c Log Message: PR/56355: Exclude the symbol trap, not all symbols other than trap. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/cddl/osnet/dev/fbt/x86/fbt_isa.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/cddl/osnet/dev/fbt/x86/fbt_isa.c diff -u src/external/cddl/osnet/dev/fbt/x86/fbt_isa.c:1.5 src/external/cddl/osnet/dev/fbt/x86/fbt_isa.c:1.6 --- src/external/cddl/osnet/dev/fbt/x86/fbt_isa.c:1.5 Sun Aug 15 16:33:57 2021 +++ src/external/cddl/osnet/dev/fbt/x86/fbt_isa.c Wed Aug 18 11:26:17 2021 @@ -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 @@ fbt_provide_module_cb(const char *name, /* * 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;