Module Name: src
Committed By: pooka
Date: Mon Mar 1 13:01:16 UTC 2010
Modified Files:
src/sys/rump/librump/rumpdev: rumpdma.c
Log Message:
Free memory in unmap instead of panicking.
(this is currently not very actively called, though, as can be seen
from the previous "implementation")
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/librump/rumpdev/rumpdma.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/librump/rumpdev/rumpdma.c
diff -u src/sys/rump/librump/rumpdev/rumpdma.c:1.1 src/sys/rump/librump/rumpdev/rumpdma.c:1.2
--- src/sys/rump/librump/rumpdev/rumpdma.c:1.1 Tue Feb 9 18:57:03 2010
+++ src/sys/rump/librump/rumpdev/rumpdma.c Mon Mar 1 13:01:16 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpdma.c,v 1.1 2010/02/09 18:57:03 pooka Exp $ */
+/* $NetBSD: rumpdma.c,v 1.2 2010/03/01 13:01:16 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -108,5 +108,5 @@
bus_dmamem_unmap(bus_dma_tag_t a, void *kva, size_t b)
{
- panic("unimplemented %s", __func__);
+ kmem_free(kva, b);
}