diff options
Diffstat (limited to 'arch/x86_64/mm/fault.c')
-rw-r--r-- | arch/x86_64/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/mm/fault.c b/arch/x86_64/mm/fault.c index 5d6b2114cc9a..57d3ab15a5c7 100644 --- a/arch/x86_64/mm/fault.c +++ b/arch/x86_64/mm/fault.c | |||
@@ -350,7 +350,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code) | |||
350 | * (error_code & 4) == 0, and that the fault was not a | 350 | * (error_code & 4) == 0, and that the fault was not a |
351 | * protection error (error_code & 1) == 0. | 351 | * protection error (error_code & 1) == 0. |
352 | */ | 352 | */ |
353 | if (unlikely(address >= TASK_SIZE)) { | 353 | if (unlikely(address >= TASK_SIZE64)) { |
354 | if (!(error_code & 5) && | 354 | if (!(error_code & 5) && |
355 | ((address >= VMALLOC_START && address < VMALLOC_END) || | 355 | ((address >= VMALLOC_START && address < VMALLOC_END) || |
356 | (address >= MODULES_VADDR && address < MODULES_END))) { | 356 | (address >= MODULES_VADDR && address < MODULES_END))) { |