projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a92b8f9
)
Can't rely on pte_offset_kernel being a macro on newer kernels.
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 6 Apr 2009 15:28:01 +0000
(15:28 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 6 Apr 2009 15:28:01 +0000
(15:28 +0000)
include/asm/pgtable.h
patch
|
blob
|
history
diff --git
a/include/asm/pgtable.h
b/include/asm/pgtable.h
index 2335bf9e6e0fa87df7f366ec465b3bfa3adcc2d2..650e8f53ee6099d1607c843f946fdbbb72d37252 100644
(file)
--- a/
include/asm/pgtable.h
+++ b/
include/asm/pgtable.h
@@
-28,7
+28,7
@@
#include_next <asm/pgtable.h>
-#if
ndef pte_offset_kernel
+#if
!defined(pte_offset_kernel) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
#define pte_offset_kernel(dir,address) pte_offset(dir,address)
#endif