Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/arch/arm/pic Pull up following revision(s) (requested...
details: https://anonhg.NetBSD.org/src/rev/27ebd4645fca
branches: netbsd-6
changeset: 775458:27ebd4645fca
user: riz <riz%NetBSD.org@localhost>
date: Mon Nov 19 18:45:04 2012 +0000
description:
Pull up following revision(s) (requested by msaitoh in ticket #656):
sys/arch/arm/pic/pic.c: revision 1.15
Fix a bug that incorrect arg is passed to pic_block_irqs() on disestablish.
Fixes PR#45371 by Yuichiro Goto.
diffstat:
sys/arch/arm/pic/pic.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3c3f82a079f7 -r 27ebd4645fca sys/arch/arm/pic/pic.c
--- a/sys/arch/arm/pic/pic.c Mon Nov 19 18:41:59 2012 +0000
+++ b/sys/arch/arm/pic/pic.c Mon Nov 19 18:45:04 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pic.c,v 1.8 2011/03/11 03:16:14 bsh Exp $ */
+/* $NetBSD: pic.c,v 1.8.10.1 2012/11/19 18:45:04 riz 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.8 2011/03/11 03:16:14 bsh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.8.10.1 2012/11/19 18:45:04 riz Exp $");
#define _INTR_PRIVATE
#include <sys/param.h>
@@ -520,7 +520,7 @@
struct pic_softc * const pic = is->is_pic;
const int irq = is->is_irq;
- (*pic->pic_ops->pic_block_irqs)(pic, irq & ~31, __BIT(irq));
+ (*pic->pic_ops->pic_block_irqs)(pic, irq & ~0x1f, __BIT(irq & 0x1f));
pic->pic_sources[irq] = NULL;
pic__iplsources[pic_ipl_offset[is->is_ipl] + is->is_iplidx] = NULL;
evcnt_detach(&is->is_ev);
Home |
Main Index |
Thread Index |
Old Index