aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/pgtable_32.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-01-30 07:34:04 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:34:04 -0500
commit0a663088cd6ff9e89f285ae7689e6eee46cfb54c (patch)
tree82125b77ca75df9c1869e5de6631e9cb1f162be6 /include/asm-x86/pgtable_32.h
parente4b71dcf54fa90fc30fb901bbce7e38a46467af7 (diff)
x86: clean up lookup_address() declarations
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/pgtable_32.h')
-rw-r--r--include/asm-x86/pgtable_32.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-x86/pgtable_32.h b/include/asm-x86/pgtable_32.h
index 72eb06c2bac9..ca7b150ca8b7 100644
--- a/include/asm-x86/pgtable_32.h
+++ b/include/asm-x86/pgtable_32.h
@@ -176,14 +176,6 @@ static inline void clone_pgd_range(pgd_t *dst, pgd_t *src, int count)
176#define pmd_page_vaddr(pmd) \ 176#define pmd_page_vaddr(pmd) \
177 ((unsigned long) __va(pmd_val(pmd) & PAGE_MASK)) 177 ((unsigned long) __va(pmd_val(pmd) & PAGE_MASK))
178 178
179/*
180 * Helper function that returns the kernel pagetable entry controlling
181 * the virtual address 'address'. NULL means no pagetable entry present.
182 * NOTE: the return type is pte_t but if the pmd is PSE then we return it
183 * as a pte too.
184 */
185extern pte_t *lookup_address(unsigned long address, int *level);
186
187#if defined(CONFIG_HIGHPTE) 179#if defined(CONFIG_HIGHPTE)
188#define pte_offset_map(dir, address) \ 180#define pte_offset_map(dir, address) \
189 ((pte_t *)kmap_atomic_pte(pmd_page(*(dir)),KM_PTE0) + pte_index(address)) 181 ((pte_t *)kmap_atomic_pte(pmd_page(*(dir)),KM_PTE0) + pte_index(address))