fix version check for remap_pfn_range() compatibility
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 16 Mar 2005 15:56:02 +0000 (15:56 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 16 Mar 2005 15:56:02 +0000 (15:56 +0000)
include/linux/mm.h

index 4c19bc6a1c271bad164821f974440ee2605619fd..1bde4dbf7086465be948fe540e2426ed95bc5dd5 100644 (file)
@@ -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)
 {