projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d2ada4
)
revert to revision 1.8, as the issues with remap_page_range have already
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 16 May 2005 22:19:11 +0000
(22:19 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 16 May 2005 22:19:11 +0000
(22:19 +0000)
been fixed by migrating to remap_pfn_range
include/linux/mm.h
patch
|
blob
|
history
diff --git
a/include/linux/mm.h
b/include/linux/mm.h
index 1e5bd1db4eca6c290522bec683b51f9f0246caa3..1bde4dbf7086465be948fe540e2426ed95bc5dd5 100644
(file)
--- a/
include/linux/mm.h
+++ b/
include/linux/mm.h
@@
-24,10
+24,8
@@
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,3) && !defined(tlb_vma)
#define REMAP_PAGE_RANGE(a,b,c,d,e) remap_page_range(b,c,d,e)
-#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11) && !defined(tlb_vma)
-#define REMAP_PAGE_RANGE(a,b,c,d,e) remap_page_range(a,b,c,d,e)
#else
-#define REMAP_PAGE_RANGE(a,b,c,d,e) remap_p
fn
_range(a,b,c,d,e)
+#define REMAP_PAGE_RANGE(a,b,c,d,e) remap_p
age
_range(a,b,c,d,e)
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)