[PATCH] powerpc/mm: Fix thread_pkey_regs_init()

Balbir Singh bsingharora at gmail.com
Tue Mar 27 14:53:53 AEDT 2018


On Tue, Mar 27, 2018 at 1:36 PM, Ram Pai <linuxram at us.ibm.com> wrote:
> 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.
>
> cc: Michael Ellermen <mpe at ellerman.id.au>
> Signed-off-by: Ram Pai <linuxram at us.ibm.com>
> Signed-off-by: Thiago Jung Bauermann <bauerman at linux.vnet.ibm.com>
> ---

Acked-by: Balbir Singh <bsingharora at gmail.com>

Balbir Singh


More information about the Linuxppc-dev mailing list