aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/fault.c
diff options
context:
space:
mode:
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))