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 Destroy mm->unused_l...
details: https://anonhg.NetBSD.org/src/rev/67de812e482e
branches: riastradh-drm2
changeset: 788463:67de812e482e
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:55:32 2013 +0000
description:
Destroy mm->unused_lock in drm_mm_takedown.
diffstat:
sys/external/bsd/drm2/dist/drm/drm_mm.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r 58c165710d73 -r 67de812e482e sys/external/bsd/drm2/dist/drm/drm_mm.c
--- a/sys/external/bsd/drm2/dist/drm/drm_mm.c Wed Jul 24 03:55:17 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_mm.c Wed Jul 24 03:55:32 2013 +0000
@@ -684,6 +684,12 @@
}
spin_unlock(&mm->unused_lock);
+ /*
+ * XXX The locking above can't be right -- either it is
+ * unnecessary or it is insufficient.
+ */
+ spin_lock_destroy(&mm->unused_lock);
+
BUG_ON(mm->num_unused != 0);
}
EXPORT_SYMBOL(drm_mm_takedown);
Home |
Main Index |
Thread Index |
Old Index