diff options
| author | Catalin Marinas <catalin.marinas@arm.com> | 2015-03-23 15:06:50 +0000 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2015-04-10 10:04:03 +0100 |
| commit | 69528942ee37ff157fd8ce9344634e3481cb1a85 (patch) | |
| tree | 324fe944330db8126c61cdcd864b261a1426edbd /security | |
| parent | a52ec48838f383bb6193119a2993cf1e567aebf8 (diff) | |
arm64: Use the reserved TTBR0 if context switching to the init_mm
commit e53f21bce4d35a93b23d8fa1a840860f6c74f59e upstream.
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.
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>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
