From d9c963b93817c9d4988d12edde2fd9318089071a Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 16 Mar 2005 15:56:02 +0000 Subject: [PATCH] fix version check for remap_pfn_range() compatibility --- include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 4c19bc6a..1bde4dbf 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -28,7 +28,7 @@ #define REMAP_PAGE_RANGE(a,b,c,d,e) remap_page_range(a,b,c,d,e) #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,9) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) static inline int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot) { -- 2.26.2