diff options
Diffstat (limited to 'src/vppinfra/smp.h')
-rw-r--r-- | src/vppinfra/smp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vppinfra/smp.h b/src/vppinfra/smp.h index 7146e51ac77..2b3ed548dfa 100644 --- a/src/vppinfra/smp.h +++ b/src/vppinfra/smp.h @@ -41,8 +41,6 @@ #include <vppinfra/cache.h> #include <vppinfra/os.h> /* for os_panic */ -#define clib_smp_swap(addr,new) __sync_lock_test_and_set(addr,new) - #if defined (i386) || defined (__x86_64__) #define clib_smp_pause() do { asm volatile ("pause"); } while (0) #elif defined (__aarch64__) || defined (__arm__) |