From 2f5738e040cd8b2562d2dc90d6104b8d73c684b4 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost <ehabkost@redhat.com> Date: Wed, 20 May 2009 14:36:52 -0300 Subject: [PATCH 1/2] Revert "external module: don't redefined get_user_pages_fast() on RHEL-5.4" This reverts commit deace35dca07d923906b79df4cf265e34a49fef2. The patch was broken: it makes the module build, but the built module doesn't load. A new one was submitted by cdub. Bugzilla: 501777 --- kernel/external-module-compat-comm.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/external-module-compat-comm.h b/kernel/external-module-compat-comm.h index 2eaace3..5649d33 100644 --- a/kernel/external-module-compat-comm.h +++ b/kernel/external-module-compat-comm.h @@ -560,7 +560,7 @@ struct rchan *kvm_relay_open(const char *base_filename, #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) && !defined(CONFIG_HAVE_GET_USER_PAGES_FAST) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) static inline int get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages) -- 1.6.3.rc4.29.g8146