]> git.karo-electronics.de Git - karo-tx-linux.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>
Fri, 12 Oct 2012 12:48:58 +0000 (08:48 -0400)
commitcd0608e71e9757f4dae35bcfb4e88f4d1a03a8ab
treecb355f8337a3daab7f6109abe69966de68a1a9f8
parent34b6f01a79bd65fbd06511d2cb7b28e33a506246
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>
arch/x86/xen/enlighten.c