Page MenuHomeFreeBSD

D3710.id8883.diff
No OneTemporary

D3710.id8883.diff

Index: sys/dev/drm2/drm_lock.c
===================================================================
--- sys/dev/drm2/drm_lock.c
+++ sys/dev/drm2/drm_lock.c
@@ -38,10 +38,12 @@
#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);
/**
* Lock ioctl.
*
@@ -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,7 +317,8 @@
} while (prev != old);
return 0;
}
+#endif
/**
* This function returns immediately and takes the hw lock
* with the kernel context if it is free, otherwise it gets the highest priority when and if

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 16, 12:13 AM (15 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25345369
Default Alt Text
D3710.id8883.diff (805 B)

Event Timeline