summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2002-02-19 23:55:45 +0100
committerIngo Molnar <mingo@elte.hu>2002-02-19 23:55:45 +0100
commitcc3100f3f02f04f4704402b5e9a40e248d4040cd (patch)
tree95ebe3d76ba38601a7a3501f163264deb81fa46b /include
parent98cb97efad93137cf013d36781833211026c25ee (diff)
use the following, much more intuitive interface names:
- pte_offset_map2 => pte_offset_map_nested - pte_unmap2 => pte_unmap_nested
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/pgtable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-i386/pgtable.h b/include/asm-i386/pgtable.h
index 35b5578f145d..137dafc66e1c 100644
--- a/include/asm-i386/pgtable.h
+++ b/include/asm-i386/pgtable.h
@@ -342,10 +342,10 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
((pte_t *) pmd_page_kernel(*(dir)) + __pte_offset(address))
#define pte_offset_map(dir, address) \
((pte_t *)kmap_atomic(pmd_page(*(dir)),KM_PTE0) + __pte_offset(address))
-#define pte_offset_map2(dir, address) \
+#define pte_offset_map_nested(dir, address) \
((pte_t *)kmap_atomic(pmd_page(*(dir)),KM_PTE1) + __pte_offset(address))
#define pte_unmap(pte) kunmap_atomic(pte, KM_PTE0)
-#define pte_unmap2(pte) kunmap_atomic(pte, KM_PTE1)
+#define pte_unmap_nested(pte) kunmap_atomic(pte, KM_PTE1)
/*
* The i386 doesn't have any external MMU info: the kernel page