projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5d8ab8
)
need to change things around a little to prevent asm/tlb.h from breaking
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 27 Feb 2005 23:31:17 +0000
(23:31 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 27 Feb 2005 23:31:17 +0000
(23:31 +0000)
compilation against debian 2.4.27 kernel headers
include/linux/mm.h
patch
|
blob
|
history
diff --git
a/include/linux/mm.h
b/include/linux/mm.h
index 39ed289b114eeef804abdfe6eeb013d28e9f5add..aabaccfcdc453eee4e00741b946e548c3c377561 100644
(file)
--- 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 <linux/mm.h>
+
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,10) \
&& LINUX_VERSION_CODE < KERNEL_VERSION(2,5,3)
+#include <asm/pgalloc.h>
#include <asm/tlb.h> /* 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 <linux/mm.h>
-
#endif /* _COMPAT_MM_H */