arm64: remove bogus TASK_SIZE_64 check
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 26 Oct 2015 03:53:17 +0000 (12:53 +0900)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 28 Oct 2015 18:51:13 +0000 (18:51 +0000)
The comparison between TASK_SIZE_64 and MODULES_VADDR does not
make any sense on arm64, it is simply something that has been
carried over from the ARM port which arm64 is based on. So drop it.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/memory.h

index 11ccf6c..37f3538 100644 (file)
 
 #define TASK_UNMAPPED_BASE     (PAGE_ALIGN(TASK_SIZE / 4))
 
-#if TASK_SIZE_64 > MODULES_VADDR
-#error Top of 64-bit user space clashes with start of module space
-#endif
-
 /*
  * Physical vs virtual RAM address space conversion.  These are
  * private definitions which should NOT be used outside memory.h