diff options
| -rw-r--r-- | arch/x86/mm/fault.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 6fa9f175cba3..f195691ec26e 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c | |||
| @@ -960,11 +960,7 @@ access_error(unsigned long error_code, int write, struct vm_area_struct *vma) | |||
| 960 | 960 | ||
| 961 | static int fault_in_kernel_space(unsigned long address) | 961 | static int fault_in_kernel_space(unsigned long address) |
| 962 | { | 962 | { |
| 963 | #ifdef CONFIG_X86_32 | ||
| 964 | return address >= TASK_SIZE; | ||
| 965 | #else | ||
| 966 | return address >= TASK_SIZE_MAX; | 963 | return address >= TASK_SIZE_MAX; |
| 967 | #endif | ||
| 968 | } | 964 | } |
| 969 | 965 | ||
| 970 | /* | 966 | /* |
