Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142741646
D3710.id8882.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
684 B
Referenced Files
None
Subscribers
None
D3710.id8882.diff
View Options
Index: sys/dev/drm2/drm_lock.c
===================================================================
--- sys/dev/drm2/drm_lock.c
+++ sys/dev/drm2/drm_lock.c
@@ -38,7 +38,9 @@
#include <dev/drm2/drmP.h>
+#if defined(__linux__)
static int drm_notifier(void *priv);
+#endif
static int drm_lock_take(struct drm_lock_data *lock_data, unsigned int context);
@@ -284,6 +286,7 @@
return 0;
}
+#if defined(__linux__)
/**
* If we get here, it means that the process has called DRM_IOCTL_LOCK
* without calling DRM_IOCTL_UNLOCK.
@@ -314,6 +317,7 @@
} while (prev != old);
return 0;
}
+#endif
/**
* This function returns immediately and takes the hw lock
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 23, 11:28 PM (3 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27891621
Default Alt Text
D3710.id8882.diff (684 B)
Attached To
Mode
D3710: Hide unused function in drm2
Attached
Detach File
Event Timeline
Log In to Comment