diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-09 17:24:08 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-02-09 17:24:08 -0500 |
commit | da7bfc50f5cb54aeee8147dca0c1de9d487cb5e0 (patch) | |
tree | d082b68848f4ed25e12ba54a7115b59fccd7cbc9 /include | |
parent | 7c36752a6be84892afb085c67fd4209e686db482 (diff) |
x86: sparse warnings in pageattr.c
Adjust the definition of lookup_address to take an unsigned long
level argument. Adjust callers in xen/mmu.c that pass in a
dummy variable.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h index 44c0a4f1b1eb..174b87738714 100644 --- a/include/asm-x86/pgtable.h +++ b/include/asm-x86/pgtable.h | |||
@@ -255,7 +255,7 @@ enum { | |||
255 | * NOTE: the return type is pte_t but if the pmd is PSE then we return it | 255 | * NOTE: the return type is pte_t but if the pmd is PSE then we return it |
256 | * as a pte too. | 256 | * as a pte too. |
257 | */ | 257 | */ |
258 | extern pte_t *lookup_address(unsigned long address, int *level); | 258 | extern pte_t *lookup_address(unsigned long address, unsigned int *level); |
259 | 259 | ||
260 | /* local pte updates need not use xchg for locking */ | 260 | /* local pte updates need not use xchg for locking */ |
261 | static inline pte_t native_local_ptep_get_and_clear(pte_t *ptep) | 261 | static inline pte_t native_local_ptep_get_and_clear(pte_t *ptep) |