Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/dist/include/drm Restore netbsd defini...



details:   https://anonhg.NetBSD.org/src/rev/b2c69803a915
branches:  trunk
changeset: 1027850:b2c69803a915
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 00:57:21 2021 +0000

description:
Restore netbsd definition of drm_ioctl


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drm_ioctl.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 02d0493e2deb -r b2c69803a915 sys/external/bsd/drm2/dist/include/drm/drm_ioctl.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_ioctl.h        Sun Dec 19 00:57:13 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_ioctl.h        Sun Dec 19 00:57:21 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_ioctl.h,v 1.2 2021/12/18 23:45:46 riastradh Exp $  */
+/*     $NetBSD: drm_ioctl.h,v 1.3 2021/12/19 00:57:21 riastradh Exp $  */
 
 /*
  * Internal Header for the Direct Rendering Manager
@@ -169,7 +169,11 @@
        }
 
 int drm_ioctl_permit(u32 flags, struct drm_file *file_priv);
+#ifdef __NetBSD__
+int drm_ioctl(struct file *, unsigned long, void *);
+#else
 long drm_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
+#endif
 long drm_ioctl_kernel(struct file *, drm_ioctl_t, void *, u32);
 #ifdef CONFIG_COMPAT
 long drm_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);



Home | Main Index | Thread Index | Old Index