Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/pic Fix botched change to use right value for i...



details:   https://anonhg.NetBSD.org/src/rev/a8876a5940da
branches:  trunk
changeset: 780353:a8876a5940da
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jul 20 21:53:57 2012 +0000

description:
Fix botched change to use right value for ipl.  Thanks jak

diffstat:

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

diffs (27 lines):

diff -r 2bb2f82f5786 -r a8876a5940da sys/arch/arm/pic/pic.c
--- a/sys/arch/arm/pic/pic.c    Fri Jul 20 21:31:28 2012 +0000
+++ b/sys/arch/arm/pic/pic.c    Fri Jul 20 21:53:57 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pic.c,v 1.11 2012/07/14 07:52:53 matt Exp $    */
+/*     $NetBSD: pic.c,v 1.12 2012/07/20 21:53:57 matt Exp $    */
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -28,7 +28,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.11 2012/07/14 07:52:53 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.12 2012/07/20 21:53:57 matt Exp $");
 
 #define _INTR_PRIVATE
 #include <sys/param.h>
@@ -377,7 +377,7 @@
                        if (ipl <= newipl)
                                break;
 
-                       pic_set_priority(ci, newipl);
+                       pic_set_priority(ci, ipl);
                        pic_list_deliver_irqs(psw, ipl, frame);
                        pic_list_unblock_irqs();
                }



Home | Main Index | Thread Index | Old Index