]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: GICv3: introduce symbolic names for GICv3 ICC_SGI1R_EL1 fields
authorAndre Przywara <andre.przywara@arm.com>
Wed, 12 Nov 2014 13:46:06 +0000 (13:46 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 20 Jan 2015 17:25:31 +0000 (18:25 +0100)
commit29fa22d60ba23baac713d88b66025893b2e0d2e7
tree0a8a126d4b380e41ab9f0bb4c2064563af6c7321
parentd8ab8c9be56ccfcea3e51c36c1104c230ebeb2a6
arm64: GICv3: introduce symbolic names for GICv3 ICC_SGI1R_EL1 fields

The gic_send_sgi() function used hardcoded bit shift values to
generate the ICC_SGI1R_EL1 register value.
Replace this with symbolic names to allow reusing them later.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
drivers/irqchip/irq-gic-v3.c
include/linux/irqchip/arm-gic-v3.h