diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-02-21 07:16:52 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-02-21 07:16:52 +0000 |
commit | 734270fb379417d5c13550423556999ee93b4b4f (patch) | |
tree | 29424ae56072f69c52cf44ddb06045c76b36191e /bsd/drm_drv.h | |
parent | ae0ee9a2f7f84196a616026a5974c8196dc7ab97 (diff) |
Merge from trunk to bsd-4-0-0-branch.bsd-4-0-0-20030220bsd-4-0-0-branch
Diffstat (limited to 'bsd/drm_drv.h')
-rw-r--r-- | bsd/drm_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd/drm_drv.h b/bsd/drm_drv.h index 3cab7316..0e0dc1aa 100644 --- a/bsd/drm_drv.h +++ b/bsd/drm_drv.h @@ -982,7 +982,7 @@ int DRM(close)(dev_t kdev, int flags, int fmt, DRM_STRUCTPROC *p) } if ( DRM(lock_take)( &dev->lock.hw_lock->lock, DRM_KERNEL_CONTEXT ) ) { - dev->lock.pid = p->p_pid; + dev->lock.pid = DRM_CURRENTPID; dev->lock.lock_time = jiffies; atomic_inc( &dev->counts[_DRM_STAT_LOCKS] ); break; /* Got lock */ |