aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/fault.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-02-01 11:49:43 -0500
committerIngo Molnar <mingo@elte.hu>2008-02-01 11:49:43 -0500
commit93809be8b140c101d27f00d0a622ebac90bc7a67 (patch)
tree2b5effc7e8d77e6f26a271838968cf793207767b /arch/x86/mm/fault.c
parent4a1485131a6038ba5382f407db48badc332672c4 (diff)
x86: fixes for lookup_address args
Signedness mismatches in level argument. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/fault.c')
-rw-r--r--arch/x86/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index e28cc5277b16..e4440d0abf81 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -382,7 +382,7 @@ static void show_fault_oops(struct pt_regs *regs, unsigned long error_code,
382 382
383#ifdef CONFIG_X86_PAE 383#ifdef CONFIG_X86_PAE
384 if (error_code & PF_INSTR) { 384 if (error_code & PF_INSTR) {
385 int level; 385 unsigned int level;
386 pte_t *pte = lookup_address(address, &level); 386 pte_t *pte = lookup_address(address, &level);
387 387
388 if (pte && pte_present(*pte) && !pte_exec(*pte)) 388 if (pte && pte_present(*pte) && !pte_exec(*pte))