From: Catalin Marinas Date: Fri, 12 Jun 2015 10:24:41 +0000 (+0100) Subject: arm64: Do not attempt to use init_mm in reset_context() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~137^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=565630d503ef24e44c252bed55571b3a0d68455f;p=pandora-kernel.git arm64: Do not attempt to use init_mm in reset_context() 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 Cc: --- Reading git-diff-tree failed