Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/dev fix unused, missing splx.
details: https://anonhg.NetBSD.org/src/rev/fb1ea39ae29a
branches: trunk
changeset: 794830:fb1ea39ae29a
user: christos <christos%NetBSD.org@localhost>
date: Wed Mar 26 08:17:32 2014 +0000
description:
fix unused, missing splx.
diffstat:
sys/arch/x68k/dev/zs.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r a9dd7d7ad1f9 -r fb1ea39ae29a sys/arch/x68k/dev/zs.c
--- a/sys/arch/x68k/dev/zs.c Wed Mar 26 08:04:19 2014 +0000
+++ b/sys/arch/x68k/dev/zs.c Wed Mar 26 08:17:32 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zs.c,v 1.41 2011/05/01 16:19:13 tsutsui Exp $ */
+/* $NetBSD: zs.c,v 1.42 2014/03/26 08:17:32 christos Exp $ */
/*-
* Copyright (c) 1998 Minoura Makoto
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.41 2011/05/01 16:19:13 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.42 2014/03/26 08:17:32 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -175,12 +175,12 @@
struct zsc_attach_args zsc_args;
volatile struct zschan *zc;
struct zs_chanstate *cs;
- int r, s, zs_unit, channel;
+ int r __diagused;
+ int s, channel;
zsc->zsc_dev = self;
aprint_normal("\n");
- zs_unit = device_unit(self);
zsc->zsc_addr = (void *)ia->ia_addr;
ia->ia_size = 8;
@@ -325,6 +325,7 @@
/* We are at splzs here, so no need to lock. */
if (zsc->zsc_cs[0]->cs_softreq || zsc->zsc_cs[1]->cs_softreq)
softint_schedule(zsc->zsc_softintr_cookie);
+ splx(s);
return (rval);
}
Home |
Main Index |
Thread Index |
Old Index