diff options
author | Ram Pai <linuxram@us.ibm.com> | 2018-03-26 19:36:54 -0700 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-31 00:10:33 +1100 |
commit | f208638680e5cb4eb0d2871ce8c29a6cfbe44dce (patch) | |
tree | 3f5281fb5197bf3f3b2209a7659dd914e1a7579a /arch/powerpc/platforms/4xx | |
parent | powerpc/kprobes: Fix call trace due to incorrect preempt count (diff) | |
download | linux-dev-f208638680e5cb4eb0d2871ce8c29a6cfbe44dce.tar.xz linux-dev-f208638680e5cb4eb0d2871ce8c29a6cfbe44dce.zip |
powerpc/mm: Fix thread_pkey_regs_init()
thread_pkey_regs_init() initializes the pkey related registers
instead of initializing the fields in the task structures. Fortunately
those key related registers are re-set to zero when the task
gets scheduled on the cpu. However its good to fix this glaringly
visible error.
Fixes: 06bb53b33804 ("powerpc: store and restore the pkey state across context switches")
Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/4xx')
0 files changed, 0 insertions, 0 deletions