irqchip/gic-v3: Gather all ACPI specific data in a single structure
authorJulien Grall <julien.grall@arm.com>
Mon, 11 Apr 2016 15:32:56 +0000 (16:32 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 3 May 2016 10:54:21 +0000 (12:54 +0200)
commit611f039f5ee4f18a2941574857390cf8765184d5
tree67b8cf8fd4b49523c5b1081f97c903258e8d4c5a
parent68628bb87fe559969b92c8d5c5fd78d8dea5676b
irqchip/gic-v3: Gather all ACPI specific data in a single structure

The ACPI code requires to use global variables in order to collect
information from the tables.

To make clear those variables are ACPI specific, gather all of them in a
single structure.

Furthermore, even if some of the variables are not marked with
__initdata, they are all only used during the initialization. Therefore,
the new variable, which hold the structure, can be marked with
__initdata.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
drivers/irqchip/irq-gic-v3.c