We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19bc59b commit dd8437cCopy full SHA for dd8437c
arch/riscv/include/asm/cmpxchg.h
@@ -348,18 +348,6 @@
348
#define arch_cmpxchg_local(ptr, o, n) \
349
(__cmpxchg_relaxed((ptr), (o), (n), sizeof(*(ptr))))
350
351
-#define cmpxchg32(ptr, o, n) \
352
-({ \
353
- BUILD_BUG_ON(sizeof(*(ptr)) != 4); \
354
- arch_cmpxchg((ptr), (o), (n)); \
355
-})
356
-
357
-#define cmpxchg32_local(ptr, o, n) \
358
359
360
- arch_cmpxchg_relaxed((ptr), (o), (n)) \
361
362
363
#define arch_cmpxchg64(ptr, o, n) \
364
({ \
365
BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
0 commit comments