Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/allwinner s/IPL_SCHED/IPL_HIGH/
details: https://anonhg.NetBSD.org/src/rev/7b248d38bd3a
branches: trunk
changeset: 333812:7b248d38bd3a
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Nov 17 08:48:59 2014 +0000
description:
s/IPL_SCHED/IPL_HIGH/
This allows binuptime to be called from any interrupt handler.
diffstat:
sys/arch/arm/allwinner/awin_cnt.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a9021e924432 -r 7b248d38bd3a sys/arch/arm/allwinner/awin_cnt.c
--- a/sys/arch/arm/allwinner/awin_cnt.c Mon Nov 17 07:15:28 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_cnt.c Mon Nov 17 08:48:59 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_cnt.c,v 1.1 2014/11/05 15:05:20 jmcneill Exp $ */
+/* $NetBSD: awin_cnt.c,v 1.2 2014/11/17 08:48:59 skrll Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_cnt.c,v 1.1 2014/11/05 15:05:20 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_cnt.c,v 1.2 2014/11/17 08:48:59 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -84,7 +84,7 @@
sc->sc_dev = self;
sc->sc_bst = aio->aio_core_bst;
- mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_SCHED);
+ mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_HIGH);
bus_space_subregion(sc->sc_bst, aio->aio_core_bsh,
loc->loc_offset, loc->loc_size, &sc->sc_bsh);
Home |
Main Index |
Thread Index |
Old Index