Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/dist/drm drm: actually let's just not ...



details:   https://anonhg.NetBSD.org/src/rev/1344baee5740
branches:  trunk
changeset: 1028803:1344baee5740
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 12:04:26 2021 +0000

description:
drm: actually let's just not use ksyms_getname for now

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_print.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 547d5cf541fa -r 1344baee5740 sys/external/bsd/drm2/dist/drm/drm_print.c
--- a/sys/external/bsd/drm2/dist/drm/drm_print.c        Sun Dec 19 12:04:17 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_print.c        Sun Dec 19 12:04:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_print.c,v 1.11 2021/12/19 12:04:17 riastradh Exp $ */
+/*     $NetBSD: drm_print.c,v 1.12 2021/12/19 12:04:26 riastradh Exp $ */
 
 /*
  * Copyright (C) 2016 Red Hat
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_print.c,v 1.11 2021/12/19 12:04:17 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_print.c,v 1.12 2021/12/19 12:04:26 riastradh Exp $");
 
 #ifndef __NetBSD__             /* XXX ??? */
 #define DEBUG /* for pr_debug() */
@@ -79,7 +79,7 @@
        const char *mod;
        const char *sym;
 
-       if (curcpu()->ci_spin_locks == 0 &&
+       if (0 &&
            !cpu_intr_p() &&
            ksyms_getname(&mod, &sym, val, KSYMS_PROC|KSYMS_CLOSEST) == 0) {
                char offset[32];



Home | Main Index | Thread Index | Old Index