Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/samsung We can't use IPL_SERIAL here, since it ...



details:   https://anonhg.NetBSD.org/src/rev/b5bf50389ac3
branches:  trunk
changeset: 328996:b5bf50389ac3
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Sun Apr 27 20:22:46 2014 +0000

description:
We can't use IPL_SERIAL here, since it would mean its the same as IPL_HIGH
which panics the armgic's assertion.

In practice i dont think this will hurt since even the small queues are
relatively big.

diffstat:

 sys/arch/arm/samsung/exynos_sscom.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4e1e1aa39708 -r b5bf50389ac3 sys/arch/arm/samsung/exynos_sscom.c
--- a/sys/arch/arm/samsung/exynos_sscom.c       Sun Apr 27 16:30:09 2014 +0000
+++ b/sys/arch/arm/samsung/exynos_sscom.c       Sun Apr 27 20:22:46 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exynos_sscom.c,v 1.4 2014/04/18 14:18:33 reinoud Exp $ */
+/*     $NetBSD: exynos_sscom.c,v 1.5 2014/04/27 20:22:46 reinoud Exp $ */
 
 /*
  * Copyright (c) 2014 Reinoud Zandijk
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: exynos_sscom.c,v 1.4 2014/04/18 14:18:33 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exynos_sscom.c,v 1.5 2014/04/27 20:22:46 reinoud Exp $");
 
 #include "opt_sscom.h"
 #include "opt_ddb.h"
@@ -167,7 +167,7 @@
 
        printf("\n");
 
-       void *ih = intr_establish(exyo->exyo_loc.loc_intr, IPL_SERIAL,
+       void *ih = intr_establish(exyo->exyo_loc.loc_intr, IPL_SCHED,
            IST_LEVEL, sscomintr, sc);
        if (ih != NULL) {
                aprint_normal_dev(self, "interrupting at irq %d\n",



Home | Main Index | Thread Index | Old Index