Date: Fri, 24 Oct 2003 14:45:21 -0700 (PDT) From: Eric Anholt <anholt@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/drm drm_sysctl.h Message-ID: <200310242145.h9OLjLd1026179@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
anholt 2003/10/24 14:45:21 PDT FreeBSD src repository Modified files: sys/dev/drm drm_sysctl.h Log: Don't try to use dev->dma_lock unless dma is initialized (dev->dma != NULL) in bufs_info sysctl handler. dev->dma and dev->dma_lock existence are protected by DRM_LOCK(). Fixes panic on sysctl hw.dri when the device is uninitialied (when you aren't in X). Revision Changes Path 1.6 +1 -2 src/sys/dev/drm/drm_sysctl.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310242145.h9OLjLd1026179>