aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2015-03-23 15:06:50 +0000
committerCatalin Marinas <[email protected]>2015-03-23 18:42:23 +0000
commite53f21bce4d35a93b23d8fa1a840860f6c74f59e (patch)
treecd0e64aa540516070de9227e40137b88072ed716 /lib/cpu-notifier-error-inject.c
parentbc465aa9d045feb0e13b4a8f32cc33c1943f62d6 (diff)
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: <[email protected]> Reported-by: Jon Medhurst (Tixy) <[email protected]> Tested-by: Jon Medhurst (Tixy) <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions