]> git.proxmox.com Git - ceph.git/blame - ceph/src/seastar/dpdk/lib/librte_eal/common/include/arch/arm/rte_rwlock.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / seastar / dpdk / lib / librte_eal / common / include / arch / arm / rte_rwlock.h
CommitLineData
9f95a23c
TL
1/* SPDX-License-Identifier: BSD-3-Clause
2 */
7c673cae
FG
3/* copied from ppc_64 */
4
5#ifndef _RTE_RWLOCK_ARM_H_
6#define _RTE_RWLOCK_ARM_H_
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12#include "generic/rte_rwlock.h"
13
14static inline void
15rte_rwlock_read_lock_tm(rte_rwlock_t *rwl)
16{
17 rte_rwlock_read_lock(rwl);
18}
19
20static inline void
21rte_rwlock_read_unlock_tm(rte_rwlock_t *rwl)
22{
23 rte_rwlock_read_unlock(rwl);
24}
25
26static inline void
27rte_rwlock_write_lock_tm(rte_rwlock_t *rwl)
28{
29 rte_rwlock_write_lock(rwl);
30}
31
32static inline void
33rte_rwlock_write_unlock_tm(rte_rwlock_t *rwl)
34{
35 rte_rwlock_write_unlock(rwl);
36}
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif /* _RTE_RWLOCK_ARM_H_ */