[PATCH v4 2/7] xtensa: kcsan: Remove kcsan stubs for atomic builtins

Max Filippov jcmvbkbc at gmail.com
Wed Feb 8 15:24:45 AEDT 2023


On Tue, Feb 7, 2023 at 7:22 PM Rohan McLure <rmclure at linux.ibm.com> wrote:
>
> A prior patch implemented stubs in place of the __atomic_* builtins in
> generic code, as it is useful for other 32-bit architectures such as
> 32-bit powerpc.
>
> Remove the kcsan-stubs.c translation unit and instead use
> the generic implementation.
>
> Signed-off-by: Rohan McLure <rmclure at linux.ibm.com>
> ---
> V4: New patch
> ---
>  arch/xtensa/lib/Makefile      |  1 -
>  arch/xtensa/lib/kcsan-stubs.c | 54 -----------------------------------
>  kernel/kcsan/Makefile         |  5 +---
>  3 files changed, 1 insertion(+), 59 deletions(-)
>  delete mode 100644 arch/xtensa/lib/kcsan-stubs.c

Acked-by: Max Filippov <jcmvbkbc at gmail.com>

-- 
Thanks.
-- Max


More information about the Linuxppc-dev mailing list