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/drm Make it a bug to drm...
details: https://anonhg.NetBSD.org/src/rev/d5fd8921409f
branches: riastradh-drm2
changeset: 788593:d5fd8921409f
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jan 15 13:52:59 2014 +0000
description:
Make it a bug to drm_mm_takedown when there remain allocated blocks.
diffstat:
sys/external/bsd/drm2/dist/drm/drm_mm.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diffs (15 lines):
diff -r 81488529951d -r d5fd8921409f sys/external/bsd/drm2/dist/drm/drm_mm.c
--- a/sys/external/bsd/drm2/dist/drm/drm_mm.c Wed Jan 15 13:52:49 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_mm.c Wed Jan 15 13:52:59 2014 +0000
@@ -671,10 +671,7 @@
{
struct drm_mm_node *entry, *next;
- if (!list_empty(&mm->head_node.node_list)) {
- DRM_ERROR("Memory manager not clean. Delaying takedown\n");
- return;
- }
+ BUG_ON(!list_empty(&mm->head_node.node_list));
spin_lock(&mm->unused_lock);
list_for_each_entry_safe(entry, next, &mm->unused_nodes, node_list) {
Home |
Main Index |
Thread Index |
Old Index