summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2015-06-12 11:24:41 +0100
committerSasha Levin <sasha.levin@oracle.com>2015-07-03 23:02:28 -0400
commitc9153c6f875e1490ca082dd4c2dd9b5ddb875851 (patch)
treeecdc4550170a1430bcfb36ca1090da3cd6ac01c6 /fs
parentf6f4983ddc27e4b966713a2f09306507097b41d9 (diff)
arm64: Do not attempt to use init_mm in reset_context()
[ Upstream commit 565630d503ef24e44c252bed55571b3a0d68455f ] After secondary CPU boot or hotplug, the active_mm of the idle thread is &init_mm. The init_mm.pgd (swapper_pg_dir) is only meant for TTBR1_EL1 and must not be set in TTBR0_EL1. Since when active_mm == &init_mm the TTBR0_EL1 is already set to the reserved value, there is no need to perform any context reset. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Cc: <stable@vger.kernel.org> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions