commit | b8802f76fe473d91886220498aeda157c492f2d1 | [log] [tgz] |
---|---|---|
author | Haojian Zhuang <haojian.zhuang@linaro.org> | Sun May 11 16:05:58 2014 +0800 |
committer | Jason Cooper <jason@lakedaemon.net> | Mon May 19 00:35:23 2014 +0000 |
tree | 577ce870c39992ca6638ee3d3c0d66548a57db61 | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 [diff] |
irqchip: gic: Use mask field in GICC_IAR Bit[9:0] is interrupt ID field in GICC_IAR. Bit[12:10] is CPU ID field, and others are reserved. So we should use GICC_IAR_INT_ID_MASK to get interrupt ID. It's not a good way to use ~0x1c00 (CPU ID field) to get interrupt ID. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> Link: https://lkml.kernel.org/r/1399795571-17231-3-git-send-email-haojian.zhuang@linaro.org Signed-off-by: Jason Cooper <jason@lakedaemon.net>