From: Frank Mori Hess Date: Wed, 16 Mar 2005 15:56:02 +0000 (+0000) Subject: fix version check for remap_pfn_range() compatibility X-Git-Tag: r0_7_70~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d9c963b93817c9d4988d12edde2fd9318089071a;p=comedi.git fix version check for remap_pfn_range() compatibility --- 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) {