From: Frank Mori Hess Date: Sun, 27 Feb 2005 23:31:17 +0000 (+0000) Subject: need to change things around a little to prevent asm/tlb.h from breaking X-Git-Tag: r0_7_70~38 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0ffd0d30504095732759a92b0e08994feccb9f49;p=comedi.git need to change things around a little to prevent asm/tlb.h from breaking compilation against debian 2.4.27 kernel headers --- diff --git a/include/linux/mm.h b/include/linux/mm.h index 39ed289b..aabaccfc 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -14,8 +14,11 @@ #define VM_OFFSET(a) ((a)->vm_pgoff * PAGE_SIZE) #endif +#include_next + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,10) \ && LINUX_VERSION_CODE < KERNEL_VERSION(2,5,3) +#include #include /* look for tlb_vma() macro for "statm" patch */ #endif @@ -25,8 +28,6 @@ #define REMAP_PAGE_RANGE(a,b,c,d,e) remap_page_range(a,b,c,d,e) #endif -#include_next - #endif /* _COMPAT_MM_H */