Module Name: src
Committed By: riastradh
Date: Wed Jul 24 02:05:33 UTC 2013
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm [riastradh-drm2]: drmP.h
Log Message:
Unifdef declaration of drm_global_mutex in drmP.h.
XXX Should probably be declared as drm_interlock_t instead.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.15 -r1.1.1.1.2.16 \
src/sys/external/bsd/drm2/dist/include/drm/drmP.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/dist/include/drm/drmP.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.15 src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.16
--- src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.15 Wed Jul 24 01:59:37 2013
+++ src/sys/external/bsd/drm2/dist/include/drm/drmP.h Wed Jul 24 02:05:33 2013
@@ -1347,9 +1347,11 @@ extern long drm_ioctl(struct file *filp,
extern long drm_compat_ioctl(struct file *filp,
unsigned int cmd, unsigned long arg);
extern int drm_lastclose(struct drm_device *dev);
+#endif
/* Device support (drm_fops.h) */
extern struct mutex drm_global_mutex;
+#ifndef __NetBSD__
extern int drm_open(struct inode *inode, struct file *filp);
extern int drm_stub_open(struct inode *inode, struct file *filp);
extern int drm_fasync(int fd, struct file *filp, int on);