Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sys/arch/arm/allwinner Pull up following revision(s) (req...



details:   https://anonhg.NetBSD.org/src/rev/ef1f60ec3939
branches:  netbsd-7
changeset: 798604:ef1f60ec3939
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Nov 18 18:50:33 2014 +0000

description:
Pull up following revision(s) (requested by skrll in ticket #250):
        sys/arch/arm/allwinner/awin_cnt.c: revision 1.2
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 ee2ab8abe0e2 -r ef1f60ec3939 sys/arch/arm/allwinner/awin_cnt.c
--- a/sys/arch/arm/allwinner/awin_cnt.c Tue Nov 18 18:45:30 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_cnt.c Tue Nov 18 18:50:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_cnt.c,v 1.1.2.2 2014/11/09 14:42:33 martin Exp $ */
+/* $NetBSD: awin_cnt.c,v 1.1.2.3 2014/11/18 18:50:33 snj 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.2.2 2014/11/09 14:42:33 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_cnt.c,v 1.1.2.3 2014/11/18 18:50:33 snj 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