]> git.baikalelectronics.ru Git - kernel.git/commit
xen/arm: SMP support
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 25 Apr 2013 16:17:04 +0000 (16:17 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 25 Apr 2013 16:46:07 +0000 (16:46 +0000)
commitb603fe3e45ad2b812e40bdc0a4444af45873cc40
tree7e0470408c32ddedc8d1f3e1b40784516eb7756b
parent8a7a180b3dc285f0ae888189234569cdd8c0b9e4
xen/arm: SMP support

Map vcpu_info using VCPUOP_register_vcpu_info on all the online vcpus,
make sure the allocated struct doesn't cross a page boundary.

Call enable_percpu_irq on every cpu.

Changes in v5:
- allocate xen_vcpu_info dynamically, aligning it to the size of the
struct;
- use VCPUOP_register_vcpu_info on cpu0 too.

Changed in v2:
- move the percpu variable argument fix to a separate patch;
- remove unused variable.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
arch/arm/xen/enlighten.c