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 Expose drm_lastclose from (ou...



details:   https://anonhg.NetBSD.org/src/rev/95e58ac16662
branches:  riastradh-drm2
changeset: 788190:95e58ac16662
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 02:38:06 2013 +0000

description:
Expose drm_lastclose from (our local) drm_fops.c.

Linux drm_stub.c wants it.

diffstat:

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

diffs (46 lines):

diff -r 4a3e9cf8efb0 -r 95e58ac16662 sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h     Wed Jul 24 02:37:49 2013 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h     Wed Jul 24 02:38:06 2013 +0000
@@ -1438,6 +1438,7 @@
 extern int drm_dequeue_event(struct drm_file *, size_t,
     struct drm_pending_event **);
 #endif
+extern void drm_lastclose(struct drm_device *);
 #else
 extern int drm_open(struct inode *inode, struct file *filp);
 extern int drm_stub_open(struct inode *inode, struct file *filp);
diff -r 4a3e9cf8efb0 -r 95e58ac16662 sys/external/bsd/drm2/drm/drm_fops.c
--- a/sys/external/bsd/drm2/drm/drm_fops.c      Wed Jul 24 02:37:49 2013 +0000
+++ b/sys/external/bsd/drm2/drm/drm_fops.c      Wed Jul 24 02:38:06 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_fops.c,v 1.1.2.1 2013/07/24 02:19:53 riastradh Exp $       */
+/*     $NetBSD: drm_fops.c,v 1.1.2.2 2013/07/24 02:38:06 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_fops.c,v 1.1.2.1 2013/07/24 02:19:53 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_fops.c,v 1.1.2.2 2013/07/24 02:38:06 riastradh Exp $");
 
 #include <drm/drmP.h>
 
@@ -41,7 +41,6 @@
 static void    drm_close_file_contexts(struct drm_file *);
 static void    drm_close_file_master(struct drm_file *);
 
-static void    drm_lastclose(struct drm_device *);
 static void    drm_lastclose_agp(struct drm_device *);
 static void    drm_lastclose_vma(struct drm_device *);
 
@@ -338,7 +337,7 @@
        mutex_unlock(&dev->struct_mutex);
 }
 
-static void
+void
 drm_lastclose(struct drm_device *dev)
 {
 



Home | Main Index | Thread Index | Old Index