summaryrefslogtreecommitdiffstats
path: root/arch/frv/include/asm/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/frv/include/asm/system.h')
-rw-r--r--arch/frv/include/asm/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/frv/include/asm/system.h b/arch/frv/include/asm/system.h
index 7742ec000cc..efd22d9077a 100644
--- a/arch/frv/include/asm/system.h
+++ b/arch/frv/include/asm/system.h
@@ -208,6 +208,8 @@ extern void free_initmem(void);
* - if (*ptr == test) then orig = *ptr; *ptr = test;
* - if (*ptr != test) then orig = *ptr;
*/
+extern uint64_t __cmpxchg_64(uint64_t test, uint64_t new, volatile uint64_t *v);
+
#ifndef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS
#define cmpxchg(ptr, test, new) \