Message ID | 1475859483-32234-11-git-send-email-pbonzini@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/include/qemu/atomic.h b/include/qemu/atomic.h index 0cce246..c493f89 100644 --- a/include/qemu/atomic.h +++ b/include/qemu/atomic.h @@ -82,7 +82,7 @@ */ #if defined(__SANITIZE_THREAD__) #define smp_read_barrier_depends() ({ barrier(); __atomic_thread_fence(__ATOMIC_CONSUME); }) -#elsif defined(__alpha__) +#elif defined(__alpha__) #define smp_read_barrier_depends() asm volatile("mb":::"memory") #else #define smp_read_barrier_depends() barrier()