1 // SPDX-FileCopyrightText: 2010 Paolo Bonzini <pbonzini@redhat.com>
3 // SPDX-License-Identifier: LGPL-2.1-or-later
5 #ifndef _URCU_ARCH_ALPHA_H
6 #define _URCU_ARCH_ALPHA_H
9 * arch_alpha.h: trivial definitions for the Alpha architecture.
12 #include <urcu/compiler.h>
13 #include <urcu/config.h>
14 #include <urcu/syscall-compat.h>
20 #define cmm_mb() __asm__ __volatile__ ("mb":::"memory")
21 #define cmm_wmb() __asm__ __volatile__ ("wmb":::"memory")
22 #define cmm_read_barrier_depends() __asm__ __volatile__ ("mb":::"memory")
25 * On Linux, define the membarrier system call number if not yet available in
28 #if (defined(__linux__) && !defined(__NR_membarrier))
29 #define __NR_membarrier 517
36 #include <urcu/arch/generic.h>
38 #endif /* _URCU_ARCH_ALPHA_H */
This page took 0.030157 seconds and 4 git commands to generate.