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/amd/amdgpu Don't hork on DEBU...



details:   https://anonhg.NetBSD.org/src/rev/f543cf1d1229
branches:  trunk
changeset: 366234:f543cf1d1229
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 14:05:40 2018 +0000

description:
Don't hork on DEBUG builds.

diffstat:

 sys/external/bsd/drm2/dist/drm/amd/amdgpu/atom.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r df92fa4d5d49 -r f543cf1d1229 sys/external/bsd/drm2/dist/drm/amd/amdgpu/atom.c
--- a/sys/external/bsd/drm2/dist/drm/amd/amdgpu/atom.c  Mon Aug 27 14:05:27 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/amd/amdgpu/atom.c  Mon Aug 27 14:05:40 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atom.c,v 1.3 2018/08/27 14:04:50 riastradh Exp $       */
+/*     $NetBSD: atom.c,v 1.4 2018/08/27 14:05:40 riastradh Exp $       */
 
 /*
  * Copyright 2008 Advanced Micro Devices, Inc.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atom.c,v 1.3 2018/08/27 14:04:50 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atom.c,v 1.4 2018/08/27 14:05:40 riastradh Exp $");
 
 #include <linux/module.h>
 #include <linux/sched.h>
@@ -91,6 +91,7 @@
 static int atom_def_dst[8] = { 0, 0, 1, 2, 0, 1, 2, 3 };
 
 static int debug_depth = 0;
+#undef DEBUG                   /* XXX NetBSD kludge */
 #ifdef ATOM_DEBUG
 static void debug_print_spaces(int n)
 {



Home | Main Index | Thread Index | Old Index