Module Name: src
Committed By: riastradh
Date: Wed Jul 24 00:52:04 UTC 2013
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm [riastradh-drm2]: drm_mm.h
Log Message:
Omit unused drm_mm_initialized, which uses list internals.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/sys/external/bsd/drm2/dist/include/drm/drm_mm.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_mm.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drm_mm.h:1.1.1.1.2.3 src/sys/external/bsd/drm2/dist/include/drm/drm_mm.h:1.1.1.1.2.4
--- src/sys/external/bsd/drm2/dist/include/drm/drm_mm.h:1.1.1.1.2.3 Wed Jul 24 00:51:47 2013
+++ src/sys/external/bsd/drm2/dist/include/drm/drm_mm.h Wed Jul 24 00:52:04 2013
@@ -86,10 +86,13 @@ static inline bool drm_mm_node_allocated
return node->allocated;
}
+#ifndef __NetBSD__
static inline bool drm_mm_initialized(struct drm_mm *mm)
{
return mm->hole_stack.next;
}
+#endif
+
#define drm_mm_for_each_node(entry, mm) list_for_each_entry(entry, \
&(mm)->head_node.node_list, \
node_list)