projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f0d981
)
pte_offset is now pte_offset_kernel in 2.6
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 4 Aug 2003 03:28:55 +0000
(
03:28
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 4 Aug 2003 03:28:55 +0000
(
03:28
+0000)
comedi/drivers.c
patch
|
blob
|
history
diff --git
a/comedi/drivers.c
b/comedi/drivers.c
index 8df803f36df7757f06cc330d3158deddc97bb87a..8464b1c0e05320dc481c5ee2a5e74979dd019f77 100644
(file)
--- a/
comedi/drivers.c
+++ b/
comedi/drivers.c
@@
-373,7
+373,7
@@
static inline unsigned long uvirt_to_kva(pgd_t *pgd, unsigned long adr)
if(!pgd_none(*pgd)){
pmd = pmd_offset(pgd, adr);
if(!pmd_none(*pmd)){
- ptep = pte_offset(pmd, adr);
+ ptep = pte_offset
_kernel
(pmd, adr);
pte = *ptep;
if(pte_present(pte)){
ret = (unsigned long) page_address(pte_page(pte));