Source-Changes-HG archive

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

[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/include/drm Unifdef decl...



details:   https://anonhg.NetBSD.org/src/rev/5504093a3605
branches:  riastradh-drm2
changeset: 788070:5504093a3605
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 02:05:33 2013 +0000

description:
Unifdef declaration of drm_global_mutex in drmP.h.

XXX Should probably be declared as drm_interlock_t instead.

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drmP.h |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 9ab542b0b7b2 -r 5504093a3605 sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h     Wed Jul 24 02:05:17 2013 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h     Wed Jul 24 02:05:33 2013 +0000
@@ -1347,9 +1347,11 @@
 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);



Home | Main Index | Thread Index | Old Index