diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2015-03-03 11:43:15 +0100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2015-03-08 06:21:45 +0100 |
commit | 2c299de527ca2f39d231a257c00d09c498bb8447 (patch) | |
tree | 22f2fab806221ed637171b889e466f9e4b78612e /firmware/cis/tamarack.cis.ihex | |
parent | irqchip: armada-370-xp: Initialize per cpu registers when CONFIG_SMP=N (diff) | |
download | linux-2c299de527ca2f39d231a257c00d09c498bb8447.tar.xz linux-2c299de527ca2f39d231a257c00d09c498bb8447.zip |
irqchip: armada-370-xp: Introduce a is_percpu_irq() helper for readability
This commit introduces a helper function is_percpu_irq(), to be used
when interrupts are mapped to decide which ones are set as per CPU.
This change will allow to extend the list of per cpu interrupts in a less
intrusive fashion; also, it makes the code slightly more readable by keeping
a list of the per CPU interrupts.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1425379400-4346-3-git-send-email-maxime.ripard@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'firmware/cis/tamarack.cis.ihex')
0 files changed, 0 insertions, 0 deletions