Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/marvell Use IST_LEVEL_HIGH for the ist argument...



details:   https://anonhg.NetBSD.org/src/rev/ecfcd48588f9
branches:  trunk
changeset: 780396:ecfcd48588f9
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sun Jul 22 17:14:18 2012 +0000

description:
Use IST_LEVEL_HIGH for the ist argument to intr_establish() (as is done in
marvell_intr_establish() and other relevant places) instead of 0 in
mvsoc_bridge_intr_establish().  This IST argument isn't used anywhere,
but it looks better this way.

diffstat:

 sys/arch/arm/marvell/mvsoc_intr.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r faab0241a7ca -r ecfcd48588f9 sys/arch/arm/marvell/mvsoc_intr.c
--- a/sys/arch/arm/marvell/mvsoc_intr.c Sun Jul 22 16:59:10 2012 +0000
+++ b/sys/arch/arm/marvell/mvsoc_intr.c Sun Jul 22 17:14:18 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsoc_intr.c,v 1.3 2011/08/13 15:38:47 jakllsch Exp $  */
+/*     $NetBSD: mvsoc_intr.c,v 1.4 2012/07/22 17:14:18 jakllsch Exp $  */
 /*
  * Copyright (c) 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsoc_intr.c,v 1.3 2011/08/13 15:38:47 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsoc_intr.c,v 1.4 2012/07/22 17:14:18 jakllsch Exp $");
 
 #define _INTR_PRIVATE
 
@@ -96,8 +96,8 @@
 mvsoc_bridge_intr_establish(int ih, int ipl, int (*ih_func)(void *), void *arg)
 {
 
-       return intr_establish(mvsoc_bridge_pic.pic_irqbase + ih, ipl, 0,
-           ih_func, arg);
+       return intr_establish(mvsoc_bridge_pic.pic_irqbase + ih, ipl,
+           IST_LEVEL_HIGH, ih_func, arg);
 }
 
 /* ARGSUSED */



Home | Main Index | Thread Index | Old Index