linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: remove bogus TASK_SIZE_64 check
@ 2015-10-26  3:53 Ard Biesheuvel
  2015-10-28 18:51 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Ard Biesheuvel @ 2015-10-26  3:53 UTC (permalink / raw)
  To: linux-arm-kernel

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(-)

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
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] arm64: remove bogus TASK_SIZE_64 check
  2015-10-26  3:53 [PATCH] arm64: remove bogus TASK_SIZE_64 check Ard Biesheuvel
@ 2015-10-28 18:51 ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2015-10-28 18:51 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-28 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-26  3:53 [PATCH] arm64: remove bogus TASK_SIZE_64 check Ard Biesheuvel
2015-10-28 18:51 ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).