diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2025-11-27 09:08:32 +0100 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2025-11-27 09:09:08 +0100 |
| commit | 6e4fa98ff0ef7c1836fb57a313d049e13d8e533f (patch) | |
| tree | 681ea65e24110afc0ef78a7c8e872523812d55f1 | |
| parent | c19d79c2dab040279fa2bcf93c84c1c1c1b82526 (diff) | |
| download | linux-for-kernelci.tar.gz | |
arc: Wire up cmpxchg64_local() to generic implementationHEADfor-kernelci
Provide cmpxchg64_local() for hexagon so we can start using it in
generic code.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
| -rw-r--r-- | arch/arc/include/asm/cmpxchg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arc/include/asm/cmpxchg.h b/arch/arc/include/asm/cmpxchg.h index 76f43db0890fcd..f2d55823645cc5 100644 --- a/arch/arc/include/asm/cmpxchg.h +++ b/arch/arc/include/asm/cmpxchg.h @@ -12,6 +12,7 @@ #include <asm/barrier.h> #include <asm/smp.h> +#include <asm-generic/cmpxchg-local.h> #ifdef CONFIG_ARC_HAS_LLSC @@ -142,4 +143,6 @@ #endif +#define arch_cmpxchg64_local __generic_cmpxchg64_local + #endif |
