diff options
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 9c2dc5d79531..6fa9f175cba3 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c | |||
@@ -963,7 +963,7 @@ static int fault_in_kernel_space(unsigned long address) | |||
963 | #ifdef CONFIG_X86_32 | 963 | #ifdef CONFIG_X86_32 |
964 | return address >= TASK_SIZE; | 964 | return address >= TASK_SIZE; |
965 | #else | 965 | #else |
966 | return address >= TASK_SIZE64; | 966 | return address >= TASK_SIZE_MAX; |
967 | #endif | 967 | #endif |
968 | } | 968 | } |
969 | 969 | ||