Module Name: src
Committed By: jmcneill
Date: Sat Oct 17 16:17:22 UTC 2015
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm: drm_agpsupport.h
Log Message:
fix __OS_HAS_AGP=0 build
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/sys/external/bsd/drm2/dist/include/drm/drm_agpsupport.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/dist/include/drm/drm_agpsupport.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drm_agpsupport.h:1.4 src/sys/external/bsd/drm2/dist/include/drm/drm_agpsupport.h:1.5
--- src/sys/external/bsd/drm2/dist/include/drm/drm_agpsupport.h:1.4 Sat Nov 22 19:18:07 2014
+++ src/sys/external/bsd/drm2/dist/include/drm/drm_agpsupport.h Sat Oct 17 16:17:22 2015
@@ -53,6 +53,8 @@ int drm_agp_bind_ioctl(struct drm_device
struct drm_file *file_priv);
#else /* __OS_HAS_AGP */
+#if !defined(__NetBSD__)
+
static inline void drm_free_agp(struct agp_memory * handle, int pages)
{
}
@@ -67,6 +69,8 @@ static inline int drm_unbind_agp(struct
return -ENODEV;
}
+#endif
+
static inline struct agp_memory *drm_agp_bind_pages(struct drm_device *dev,
struct page **pages,
unsigned long num_pages,