summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/cmpxchg.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2015-03-23 16:06:50 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2015-03-23 19:42:23 +0100
commite53f21bce4d35a93b23d8fa1a840860f6c74f59e (patch)
treecd0e64aa540516070de9227e40137b88072ed716 /arch/arm64/include/asm/cmpxchg.h
parentLinux 4.0-rc5 (diff)
downloadlinux-e53f21bce4d35a93b23d8fa1a840860f6c74f59e.tar.xz
linux-e53f21bce4d35a93b23d8fa1a840860f6c74f59e.zip
arm64: Use the reserved TTBR0 if context switching to the init_mm
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. Cc: <stable@vger.kernel.org> 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>
Diffstat (limited to 'arch/arm64/include/asm/cmpxchg.h')
0 files changed, 0 insertions, 0 deletions