From 0ffd0d30504095732759a92b0e08994feccb9f49 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 27 Feb 2005 23:31:17 +0000 Subject: [PATCH] need to change things around a little to prevent asm/tlb.h from breaking compilation against debian 2.4.27 kernel headers --- include/linux/mm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 */ -- 2.26.2