]>
git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/lib/librte_eal/common/arch/x86/rte_spinlock.c
1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2014 Intel Corporation
7 #include "rte_cpuflags.h"
9 uint8_t rte_rtm_supported
; /* cache the flag to avoid the overhead
10 of the rte_cpu_get_flag_enabled function */
12 RTE_INIT(rte_rtm_init
)
14 rte_rtm_supported
= rte_cpu_get_flag_enabled(RTE_CPUFLAG_RTM
);