diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 07:34:04 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:04 -0500 |
commit | 0a663088cd6ff9e89f285ae7689e6eee46cfb54c (patch) | |
tree | 82125b77ca75df9c1869e5de6631e9cb1f162be6 /include/asm-x86/pgtable.h | |
parent | e4b71dcf54fa90fc30fb901bbce7e38a46467af7 (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.h')
-rw-r--r-- | include/asm-x86/pgtable.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h index 2726ddc457fd..4409dabe31c6 100644 --- a/include/asm-x86/pgtable.h +++ b/include/asm-x86/pgtable.h | |||
@@ -234,6 +234,14 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) | |||
234 | 234 | ||
235 | #ifndef __ASSEMBLY__ | 235 | #ifndef __ASSEMBLY__ |
236 | 236 | ||
237 | /* | ||
238 | * Helper function that returns the kernel pagetable entry controlling | ||
239 | * the virtual address 'address'. NULL means no pagetable entry present. | ||
240 | * NOTE: the return type is pte_t but if the pmd is PSE then we return it | ||
241 | * as a pte too. | ||
242 | */ | ||
243 | extern pte_t *lookup_address(unsigned long address, int *level); | ||
244 | |||
237 | /* local pte updates need not use xchg for locking */ | 245 | /* local pte updates need not use xchg for locking */ |
238 | static inline pte_t native_local_ptep_get_and_clear(pte_t *ptep) | 246 | static inline pte_t native_local_ptep_get_and_clear(pte_t *ptep) |
239 | { | 247 | { |