Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/nand whitespace
details: https://anonhg.NetBSD.org/src/rev/173c43752c8e
branches: trunk
changeset: 764533:173c43752c8e
user: ahoka <ahoka%NetBSD.org@localhost>
date: Tue Apr 26 17:27:52 2011 +0000
description:
whitespace
diffstat:
sys/dev/nand/nand_io.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (41 lines):
diff -r b215ff42aa8a -r 173c43752c8e sys/dev/nand/nand_io.c
--- a/sys/dev/nand/nand_io.c Tue Apr 26 16:57:38 2011 +0000
+++ b/sys/dev/nand/nand_io.c Tue Apr 26 17:27:52 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nand_io.c,v 1.3 2011/04/26 13:38:13 ahoka Exp $ */
+/* $NetBSD: nand_io.c,v 1.4 2011/04/26 17:27:52 ahoka Exp $ */
/*-
* Copyright (c) 2011 Department of Software Engineering,
@@ -141,17 +141,17 @@
struct nand_softc *sc = device_private(self);
struct nand_chip *chip = &sc->sc_chip;
struct nand_write_cache *wc = &sc->sc_cache;
-
+
DPRINTF(("stopping nand io thread\n"));
-
+
kmem_free(wc->nwc_data, chip->nc_block_size);
-
+
sc->sc_io_running = false;
-
+
mutex_enter(&sc->sc_io_lock);
cv_broadcast(&sc->sc_io_cv);
mutex_exit(&sc->sc_io_lock);
-
+
kthread_join(sc->sc_sync_thread);
bufq_free(wc->nwc_bufq);
@@ -162,7 +162,7 @@
KASSERT(!cv_has_waiters(&sc->sc_io_cv));
mutex_exit(&sc->sc_io_lock);
#endif
-
+
cv_destroy(&sc->sc_io_cv);
mutex_destroy(&sc->sc_io_lock);
}
Home |
Main Index |
Thread Index |
Old Index