Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/alchemy/dev Turn interrupts back off after sle...
details: https://anonhg.NetBSD.org/src/rev/47275e332787
branches: trunk
changeset: 340275:47275e332787
user: dholland <dholland%NetBSD.org@localhost>
date: Sun Aug 30 04:09:21 2015 +0000
description:
Turn interrupts back off after sleeping. From maxv's Brainy list.
diffstat:
sys/arch/mips/alchemy/dev/aupcmcia.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r ccffc85df3ed -r 47275e332787 sys/arch/mips/alchemy/dev/aupcmcia.c
--- a/sys/arch/mips/alchemy/dev/aupcmcia.c Sun Aug 30 04:02:06 2015 +0000
+++ b/sys/arch/mips/alchemy/dev/aupcmcia.c Sun Aug 30 04:09:21 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aupcmcia.c,v 1.9 2012/01/04 02:36:26 kiyohara Exp $ */
+/* $NetBSD: aupcmcia.c,v 1.10 2015/08/30 04:09:21 dholland Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@@ -35,7 +35,7 @@
/* #include "pci.h" */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aupcmcia.c,v 1.9 2012/01/04 02:36:26 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aupcmcia.c,v 1.10 2015/08/30 04:09:21 dholland Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -379,6 +379,7 @@
* Go figure.
*/
tsleep(&sc->sc_wake, PWAIT, "aupcm_event", hz);
+ s = splhigh();
}
sc->sc_wake = 0;
Home |
Main Index |
Thread Index |
Old Index