linux-uconsole/arch/arm64
Colin Cross fc094d1e4d arm64: implement TASK_SIZE_OF
commit fa2ec3ea10 upstream.

include/linux/sched.h implements TASK_SIZE_OF as TASK_SIZE if it
is not set by the architecture headers.  TASK_SIZE uses the
current task to determine the size of the virtual address space.
On a 64-bit kernel this will cause reading /proc/pid/pagemap of a
64-bit process from a 32-bit process to return EOF when it reads
past 0xffffffff.

Implement TASK_SIZE_OF exactly the same as TASK_SIZE with
test_tsk_thread_flag instead of test_thread_flag.

Signed-off-by: Colin Cross <ccross@android.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-17 15:58:02 -07:00
..
boot arm64: dts: Reserve the memory used for secondary CPU release address 2014-01-09 12:24:26 -08:00
configs arm64: vexpress: Enable ARMv8 RTSM model (SoC) support 2013-04-26 14:44:05 +01:00
include arm64: implement TASK_SIZE_OF 2014-07-17 15:58:02 -07:00
kernel arm64: Bug fix in stack alignment exception 2014-07-09 11:14:01 -07:00
lib arm64: Treat the bitops index argument as an 'int' 2013-05-08 10:33:17 +01:00
mm arm64: Invalidate the TLB when replacing pmd entries during boot 2014-02-20 11:06:11 -08:00
Kconfig arm64: Do not source kernel/time/Kconfig explicitly 2013-05-14 15:44:51 +01:00
Kconfig.debug arm64: Kconfig.debug: Remove unused CONFIG_DEBUG_ERRORS 2013-03-19 16:19:19 +00:00
Makefile arm64: Fix the dtbs target building 2012-12-10 20:24:57 -06:00