From: Catalin Marinas Date: Mon, 23 Mar 2015 15:06:50 +0000 (+0000) Subject: arm64: Use the reserved TTBR0 if context switching to the init_mm X-Git-Tag: omap-for-v4.1/fixes-rc1~270^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e53f21bce4d35a93b23d8fa1a840860f6c74f59e;p=pandora-kernel.git 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: Reported-by: Jon Medhurst (Tixy) Tested-by: Jon Medhurst (Tixy) Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed