kvm: external module: Use kvm_on_each_cpu in preempt.c
commit99fcdb4834c5fed1aa9b5c2b0279516eaf2c9f18
authorAlexander Graf <agraf@suse.de>
Sat, 8 Nov 2008 07:53:21 +0000 (8 08:53 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 9 Nov 2008 13:07:50 +0000 (9 15:07 +0200)
tree38fc1df5becc3deff486ad27234181695472152f
parentfefe8ee97ae162062a0d71631aaad59aa2a51a6d
kvm: external module: Use kvm_on_each_cpu in preempt.c

Compat modules need to use kvm_on_each_cpu instead on on_each_cpu
in order to be compatible throughout various kernel versions.

Unfortunately preempt.c uses on_each_cpu. This patch changes preempt.c
to also use the kvm version, so it is compatible with the rest of the
external module build.

This fixes building on newer kernels without preempt notifiers.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
kernel/x86/preempt.c