arm_gic: Introduce define for GIC_NR_SGIS
commit41ab7b55108e2699e7c2e77788465cb52a0b2c08
authorChristoffer Dall <christoffer.dall@linaro.org>
Fri, 31 Jan 2014 14:47:38 +0000 (31 14:47 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 31 Jan 2014 14:47:38 +0000 (31 14:47 +0000)
tree80201b819db43405c5c832d2030b0a7d212bb252
parent4d1cef840d526c80244175c208260f165f9226db
arm_gic: Introduce define for GIC_NR_SGIS

Instead of hardcoding 16 various places in the code, use a define to
make it more clear what is going on.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gic.c
include/hw/intc/arm_gic_common.h