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)
commit7e5802781c3e109558ddfd8b02155ad24d872ee7
tree0a8a126d4b380e41ab9f0bb4c2064563af6c7321
parenta0675c25d6392c2197b796a60c4a2a0138c86355
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