From 93337e467871869be55fd1777120778c6de8b64f Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Sun, 8 Feb 2009 11:04:56 +0200 Subject: [PATCH] kvm: external module: fix pagefault_disable() emulation for RHEL 5.2 pagefault_disable() was actually introduced in RHEL 5.3, so RHEL 5.2 still needs emulation. Signed-off-by: Avi Kivity --- kvm/kernel/external-module-compat-comm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvm/kernel/external-module-compat-comm.h b/kvm/kernel/external-module-compat-comm.h index ae58c97b30..6e9a90a416 100644 --- a/kvm/kernel/external-module-compat-comm.h +++ b/kvm/kernel/external-module-compat-comm.h @@ -252,7 +252,7 @@ static inline void blahblah(void) #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) # define KVM_NEED_PAGEFAULT_DISABLE 1 # ifdef RHEL_RELEASE_CODE -# if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(5,2) +# if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(5,3) # undef KVM_NEED_PAGEFAULT_DISABLE # endif # endif -- 2.11.4.GIT