diff options
author | Jeff Dike <jdike@addtoit.com> | 2008-02-05 07:31:06 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 18:44:29 +0100 |
commit | 909e90d3c410b684e564729145f7c20dad887757 (patch) | |
tree | 31c4e5ade894f185a7eeb04ce7023cb7da6b9277 /include/asm-um/pgtable-2level.h | |
parent | uml: style fixes in file.c (diff) | |
download | linux-909e90d3c410b684e564729145f7c20dad887757.tar.xz linux-909e90d3c410b684e564729145f7c20dad887757.zip |
uml: 64-bit tlb fixes
Some 64-bit tlb fixes -
moved pmd_page_vaddr to pgtable.h since it's the same for both
2-level and 3-level page tables
fixed a bogus cast on pud_page_vaddr
made the address checking in update_*_range more careful
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-um/pgtable-2level.h')
-rw-r--r-- | include/asm-um/pgtable-2level.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-um/pgtable-2level.h b/include/asm-um/pgtable-2level.h index 172a75fde512..f534b73e753e 100644 --- a/include/asm-um/pgtable-2level.h +++ b/include/asm-um/pgtable-2level.h @@ -41,9 +41,6 @@ static inline void pgd_mkuptodate(pgd_t pgd) { } #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot)) -#define pmd_page_vaddr(pmd) \ - ((unsigned long) __va(pmd_val(pmd) & PAGE_MASK)) - /* * Bits 0 through 4 are taken */ |