diff options
| author | Catalin Marinas <catalin.marinas@arm.com> | 2015-06-12 11:24:41 +0100 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2015-07-15 10:00:32 +0100 |
| commit | fff71d320ab678a60cd810b18072d46b5465aad2 (patch) | |
| tree | b3bd8838635cc6f09ae9d79440e4d39b39b388fe /include/linux | |
| parent | 643b4f2b9ca9e52da170c315463f9c242f13b692 (diff) | |
arm64: Do not attempt to use init_mm in reset_context()
commit 565630d503ef24e44c252bed55571b3a0d68455f upstream.
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>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
