Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1630152
| From | Majun <majun258@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] irqchip/mbigen: Fix the clear register offset |
| Date | 2017-04-25 04:20 +0200 |
| Message-ID | <tzYf7-6TM-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: MaJun <majun258@huawei.com>
Don't minus reserved interrupts (64) when get the clear register offset,because
the clear register space includes the space of these 64 interrupts.
Signed-off-by: MaJun <majun258@huawei.com>
---
drivers/irqchip/irq-mbigen.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/irqchip/irq-mbigen.c b/drivers/irqchip/irq-mbigen.c
index 061cdb8..75818a5 100644
--- a/drivers/irqchip/irq-mbigen.c
+++ b/drivers/irqchip/irq-mbigen.c
@@ -108,7 +108,6 @@ static inline void get_mbigen_clear_reg(irq_hw_number_t hwirq,
{
unsigned int ofst;
- hwirq -= RESERVED_IRQ_PER_MBIGEN_CHIP;
ofst = hwirq / 32 * 4;
*mask = 1 << (hwirq % 32);
--
1.7.12.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] irqchip/mbigen: Fix the clear register offset Majun <majun258@huawei.com> - 2017-04-25 04:20 +0200
Re: [PATCH] irqchip/mbigen: Fix the clear register offset Hanjun Guo <hanjun.guo@linaro.org> - 2017-04-26 05:20 +0200
Re: [PATCH] irqchip/mbigen: Fix the clear register offset Marc Zyngier <marc.zyngier@arm.com> - 2017-04-26 10:10 +0200
Re: [PATCH] irqchip/mbigen: Fix the clear register offset "majun (Euler7)" <majun258@huawei.com> - 2017-04-27 03:30 +0200
Re: [PATCH] irqchip/mbigen: Fix the clear register offset Hanjun Guo <hanjun.guo@linaro.org> - 2017-04-27 04:10 +0200
csiph-web