Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/include/drm Omit unused ...
details: https://anonhg.NetBSD.org/src/rev/35bab47b1689
branches: riastradh-drm2
changeset: 788007:35bab47b1689
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 00:52:04 2013 +0000
description:
Omit unused drm_mm_initialized, which uses list internals.
diffstat:
sys/external/bsd/drm2/dist/include/drm/drm_mm.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r ae43286aedcc -r 35bab47b1689 sys/external/bsd/drm2/dist/include/drm/drm_mm.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_mm.h Wed Jul 24 00:51:47 2013 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_mm.h Wed Jul 24 00:52:04 2013 +0000
@@ -86,10 +86,13 @@
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)
Home |
Main Index |
Thread Index |
Old Index