Home
last modified time | relevance | path

Searched hist:adcf59187e2705721ccf23733a5fa2fb20d91415 (Results 1 – 2 of 2) sorted by relevance

/linux/arch/powerpc/kernel/
H A Dcputable.cdiff adcf59187e2705721ccf23733a5fa2fb20d91415 Fri Apr 26 18:23:29 CEST 2019 Christophe Leroy <christophe.leroy@c-s.fr> powerpc: don't use direct assignation during early boot.

In kernel/cputable.c, explicitly use memcpy() instead of *y = *x;
This will allow GCC to replace it with __memcpy() when KASAN is
selected.

Acked-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
H A Dprom_init.cdiff adcf59187e2705721ccf23733a5fa2fb20d91415 Fri Apr 26 18:23:29 CEST 2019 Christophe Leroy <christophe.leroy@c-s.fr> powerpc: don't use direct assignation during early boot.

In kernel/cputable.c, explicitly use memcpy() instead of *y = *x;
This will allow GCC to replace it with __memcpy() when KASAN is
selected.

Acked-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>