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

- From: Max Filippov \<jcmvbkbc@gmail.com\>
- Date: 2023-02-08 04:25:53 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2023/02/9529979
- Thread: https://ratatoskr.run/linuxppc-dev/2023/02/9529969/t.md

```text
On Tue, Feb 7, 2023 at 7:22 PM Rohan McLure [ref] 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 <redacted>
> ---
> 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@gmail.com>

-- 
Thanks.
-- Max
```
