Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[PATCH 4/11] ARM: fix typo in pic_list_find_pic_by_pending_ipl
--Imre
From 9725627672ad54628a60f18ffd9c3f7b4823024a Mon Sep 17 00:00:00 2001
From: Imre Deak <imre.deak%teleca.com@localhost>
Date: Fri, 25 Apr 2008 14:29:52 +0300
Subject: [PATCH] ARM: fix typo in pic_list_find_pic_by_pending_ipl
---
sys/arch/arm/pic/pic.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sys/arch/arm/pic/pic.c b/sys/arch/arm/pic/pic.c
index 4133944..260f9ee 100644
--- a/sys/arch/arm/pic/pic.c
+++ b/sys/arch/arm/pic/pic.c
@@ -321,7 +321,7 @@ pic_list_find_pic_by_pending_ipl(uint32_t ipl_mask)
KASSERT(pic != NULL);
if (pic->pic_pending_ipls & ipl_mask)
return pic;
- pending &= ~ipl_mask;
+ pending &= ~(1 << pic_id);
}
}
--
1.5.4.2
Home |
Main Index |
Thread Index |
Old Index