]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/bootup: allow read_tscp call for Xen PV guests.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 10 Oct 2012 17:30:47 +0000 (13:30 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 4 Dec 2012 17:44:34 +0000 (12:44 -0500)
commitd4ec6f210c5d2d8ced2959909f4867ec4b7ac454
tree5b53e38e554eddd7c2e0ad1dde9777add20d7f4d
parent5829a5e92e18295e1f8fa91ddff8c2a7717a525d
xen/bootup: allow read_tscp call for Xen PV guests.

The hypervisor will trap it. However without this patch,
we would crash as the .read_tscp is set to NULL. This patch
fixes it and sets it to the native_read_tscp call.

CC: stable@vger.kernel.org
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
(cherry picked from commit cd0608e71e9757f4dae35bcfb4e88f4d1a03a8ab)
arch/x86/xen/enlighten.c