]> git.baikalelectronics.ru Git - kernel.git/commit
x86/kvm: Fix pvclock vsyscall fixmap
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 27 Feb 2013 20:28:28 +0000 (15:28 -0500)
committerGleb Natapov <gleb@redhat.com>
Thu, 28 Feb 2013 06:50:11 +0000 (08:50 +0200)
commit566720fc70d48d5d85e1beeb08747e3317bf4629
tree2d52e8d1159051f0647afda8d889fd6645ff5cf2
parentc513e40e201486def320813b6f78ddb33e73916b
x86/kvm: Fix pvclock vsyscall fixmap

The physical memory fixmapped for the pvclock clock_gettime vsyscall
was allocated, and thus is not a kernel symbol. __pa() is the proper
method to use in this case.

Fixes the crash below when booting a next-20130204+ smp guest on a
3.8-rc5+ KVM host.

[    0.666410] udevd[97]: starting version 175
[    0.674043] udevd[97]: udevd:[97]: segfault at ffffffffff5fd020
     ip 00007fff069e277f sp 00007fff068c9ef8 error d

Acked-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kernel/pvclock.c