]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/smp: Move the common CPU init code a bit to prep for PVH patch.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 22 Oct 2012 15:35:16 +0000 (11:35 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 29 Oct 2012 14:10:42 +0000 (10:10 -0400)
commit1ba23a0f2605e828efb1cd531ae297a84a9ddb05
tree13e9073dd11790595b85a8e83f792d6079a7846b
parentc52a88c93aad4ba3d087f3804c1bc9285b64c3f6
xen/smp: Move the common CPU init code a bit to prep for PVH patch.

The PV and PVH code CPU init code share some functionality. The
PVH code ("xen/pvh: Extend vcpu_guest_context, p2m, event, and XenBus")
sets some of these up, but not all. To make it easier to read, this
patch removes the PV specific out of the generic way.

No functional change - just code movement.

Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
[v2: Fixed compile errors noticed by Fengguang Wu build system]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/smp.c