public inbox for trinity@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Compat fixes for DRM & prctl()
@ 2014-05-23  9:09 Michael Ellerman
  2014-05-24  0:48 ` Dave Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Ellerman @ 2014-05-23  9:09 UTC (permalink / raw)
  To: trinity

---
 include/compat.h | 9 +++++++++
 ioctls/drm.c     | 2 ++
 2 files changed, 11 insertions(+)

diff --git a/include/compat.h b/include/compat.h
index 51f0936..8bdaf92 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -257,10 +257,19 @@ enum {
 
 #ifndef PR_SET_MM
 #define PR_SET_MM               35
+#endif
+
+#ifndef PR_SET_CHILD_SUBREAPER
 #define PR_SET_CHILD_SUBREAPER  36
 #define PR_GET_CHILD_SUBREAPER  37
+#endif
+
+#ifndef PR_SET_NO_NEW_PRIVS
 #define PR_SET_NO_NEW_PRIVS     38
 #define PR_GET_NO_NEW_PRIVS     39
+#endif
+
+#ifndef PR_GET_TID_ADDRESS
 #define PR_GET_TID_ADDRESS      40
 #endif
 
diff --git a/ioctls/drm.c b/ioctls/drm.c
index 986b668..1f6174a 100644
--- a/ioctls/drm.c
+++ b/ioctls/drm.c
@@ -276,7 +276,9 @@ static const struct ioctl drm_ioctls[] = {
 #ifdef DRM_IOCTL_EXYNOS_GEM_GET
 	IOCTL(DRM_IOCTL_EXYNOS_GEM_GET),
 #endif
+#ifdef DRM_IOCTL_EXYNOS_VIDI_CONNECTION
 	IOCTL(DRM_IOCTL_EXYNOS_VIDI_CONNECTION),
+#endif
 #ifdef DRM_IOCTL_EXYNOS_G2D_GET_VER
 	IOCTL(DRM_IOCTL_EXYNOS_G2D_GET_VER),
 #endif
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-26  3:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-23  9:09 [PATCH] Compat fixes for DRM & prctl() Michael Ellerman
2014-05-24  0:48 ` Dave Jones
2014-05-26  3:06   ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox