diff mbox

arm64: remove bogus TASK_SIZE_64 check

Message ID 1445831597-5680-1-git-send-email-ard.biesheuvel@linaro.org
State Accepted
Commit 6e4a0f2b5c56af6be43b546df16b1ece7df537d8
Headers show

Commit Message

Ard Biesheuvel Oct. 26, 2015, 3:53 a.m. UTC
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>

---
 arch/arm64/include/asm/memory.h | 4 ----
 1 file changed, 4 deletions(-)

-- 
2.1.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Comments

Catalin Marinas Oct. 28, 2015, 6:51 p.m. UTC | #1
On Mon, Oct 26, 2015 at 12:53:17PM +0900, Ard Biesheuvel wrote:
> 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>


Applied. Thanks.

-- 
Catalin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox

Patch

diff --git a/arch/arm64/include/asm/memory.h b/arch/arm64/include/asm/memory.h
index 11ccf6c09533..37f3538a2924 100644
--- a/arch/arm64/include/asm/memory.h
+++ b/arch/arm64/include/asm/memory.h
@@ -70,10 +70,6 @@ 
 
 #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