Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/dev Fix locking botch introduced in 1.36.
details: https://anonhg.NetBSD.org/src/rev/7abcae194d9e
branches: trunk
changeset: 779998:7abcae194d9e
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Jul 05 10:56:52 2012 +0000
description:
Fix locking botch introduced in 1.36.
diffstat:
sys/arch/evbarm/dev/plcom.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a46bb5fcbc8a -r 7abcae194d9e sys/arch/evbarm/dev/plcom.c
--- a/sys/arch/evbarm/dev/plcom.c Thu Jul 05 03:02:53 2012 +0000
+++ b/sys/arch/evbarm/dev/plcom.c Thu Jul 05 10:56:52 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: plcom.c,v 1.38 2012/05/20 10:28:44 skrll Exp $ */
+/* $NetBSD: plcom.c,v 1.39 2012/07/05 10:56:52 skrll Exp $ */
/*-
* Copyright (c) 2001 ARM Ltd
@@ -94,7 +94,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: plcom.c,v 1.38 2012/05/20 10:28:44 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: plcom.c,v 1.39 2012/07/05 10:56:52 skrll Exp $");
#include "opt_plcom.h"
#include "opt_ddb.h"
@@ -640,7 +640,7 @@
sc->ppsparam.mode = 0;
mutex_spin_exit(&timecounter_lock);
- mutex_spin_enter(&sc->sc_lock);
+ mutex_spin_exit(&sc->sc_lock);
/*
* Initialize the termios status to the defaults. Add in the
Home |
Main Index |
Thread Index |
Old Index