]> git.baikalelectronics.ru Git - kernel.git/commit
xen/pvh: set CR4 flags for APs
authorMukesh Rathor <mukesh.rathor@oracle.com>
Thu, 30 Jan 2014 00:15:18 +0000 (16:15 -0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 3 Feb 2014 20:44:18 +0000 (15:44 -0500)
commit4b633fb229c94e55d2a8fba7f3193e8b66e512cb
tree312daa25104997e9157844405ac33b1d027f138d
parent625fe2e1c6798bfca95a16420cf3ef00ea4076e0
xen/pvh: set CR4 flags for APs

During bootup in the 'probe_page_size_mask' these CR4 flags are
set in there. But for AP processors they are not set as we do not
use 'secondary_startup_64' which the baremetal kernels uses.
Instead do it in this function which we use in Xen PVH during our
startup for AP processors.

As such fix it up to make sure we have that flag set.

Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/enlighten.c