KVM: Use CONFIG_PREEMPT_NOTIFIERS around struct preempt_notifier
authorHollis Blanchard <hollisb@us.ibm.com>
Mon, 28 Jan 2008 23:42:34 +0000 (17:42 -0600)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 08:53:18 +0000 (11:53 +0300)
commit31bb117eb48f2629e030ca547ca89a1c34150183
tree9923c209e353dfac4843ae067eaade9f3154ced3
parent2384d2b32640839a4d4d260ca7c5aa4edbf68d91
KVM: Use CONFIG_PREEMPT_NOTIFIERS around struct preempt_notifier

This allows kvm_host.h to be #included even when struct preempt_notifier is
undefined. This is needed to build ppc asm-offsets.h.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
include/linux/kvm_host.h