]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit146c5b4d41117f117d1da92dd1015fe42751ed8b
tree67b8cf8fd4b49523c5b1081f97c903258e8d4c5a
parentcee38065e0f09d613696ea1e9dae5b2f95b4b7f5
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