forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/arch/m68k/include/asm/cmpxchg.h
....@@ -129,14 +129,6 @@
129129
130130 #else
131131
132
-/*
133
- * cmpxchg_local and cmpxchg64_local are atomic wrt current CPU. Always make
134
- * them available.
135
- */
136
-#define cmpxchg_local(ptr, o, n) \
137
- ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr), (unsigned long)(o),\
138
- (unsigned long)(n), sizeof(*(ptr))))
139
-
140132 #include <asm-generic/cmpxchg.h>
141133
142134 #endif