linux/arch/arm64/include
Catalin Marinas 7edf68cf19 arm64: Use the reserved TTBR0 if context switching to the init_mm
commit e53f21bce4 upstream.

The idle_task_exit() function may call switch_mm() with next ==
&init_mm. On arm64, init_mm.pgd cannot be used for user mappings, so
this patch simply sets the reserved TTBR0.

Reported-by: Jon Medhurst (Tixy) <tixy@linaro.org>
Tested-by: Jon Medhurst (Tixy) <tixy@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-04-13 14:03:03 +02:00
..
asm arm64: Use the reserved TTBR0 if context switching to the init_mm 2015-04-13 14:03:03 +02:00
uapi/asm arm64: KVM: Add VGIC device control for arm64 2014-02-14 11:09:49 +01:00