forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
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