arm/xen: Initialize event channels earlier
authorJulien Grall <julien.grall@linaro.org>
Thu, 30 Jan 2014 12:52:59 +0000 (12:52 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 30 Jan 2014 12:52:59 +0000 (12:52 +0000)
Event channels driver needs to be initialized very early. Until now, Xen
initialization was done after all CPUs was bring up.

We can safely move the initialization to an early initcall.

Also use a cpu notifier to:
    - Register the VCPU when the CPU is prepared
    - Enable event channel IRQ when the CPU is running

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
arch/arm/xen/enlighten.c

Simple merge