]> xenbits.xensource.com Git - xen.git/commit
arm: vgic: Split vgic_domain_init() functionality into two functions
authorShanker Donthineni <shankerd@codeaurora.org>
Mon, 27 Jun 2016 20:33:39 +0000 (15:33 -0500)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 14 Jul 2016 14:14:43 +0000 (15:14 +0100)
commitebc8c6cdeb36235f2421a894c236fa2bf1be33da
tree42619fc9efb5b513c31c42d038da444b972640c4
parentf4b9488eaa232d5e167e0124c10faa5b73a2c800
arm: vgic: Split vgic_domain_init() functionality into two functions

Separate the code logic that does the registration of vgic_v3/v2 ops
to a new function domain_vgic_register(). The intention of this
separation is to record the required mmio count in vgic_v3/v2_init()
and pass it to function domain_io_init() in a follow-up patch patch.

Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/vgic.c