git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sh: Correct pte_page() breakage.
[sfrench/cifs-2.6.git]
/
include
/
asm-sh
/
pgtable.h
diff --git
a/include/asm-sh/pgtable.h
b/include/asm-sh/pgtable.h
index cf0dd2b648c230c3d2a81e68ee2bdb2969d2d59e..0b1d7c665659f8f1b2c424c5dbd3d7b38046416e 100644
(file)
--- a/
include/asm-sh/pgtable.h
+++ b/
include/asm-sh/pgtable.h
@@
-399,7
+399,7
@@
static inline void set_pte(pte_t *ptep, pte_t pte)
#define pmd_bad(x) (pmd_val(x) & ~PAGE_MASK)
#define pages_to_mb(x) ((x) >> (20-PAGE_SHIFT))
#define pmd_bad(x) (pmd_val(x) & ~PAGE_MASK)
#define pages_to_mb(x) ((x) >> (20-PAGE_SHIFT))
-#define pte_page(x) p
hys_to_page(pte_val(x)&PTE_PHYS_MASK
)
+#define pte_page(x) p
fn_to_page(pte_pfn(x)
)
/*
* The following only work if pte_present() is true.
/*
* The following only work if pte_present() is true.