]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/dpdk/lib/librte_eal/common/arch/x86/rte_spinlock.c
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / dpdk / lib / librte_eal / common / arch / x86 / rte_spinlock.c
diff --git a/ceph/src/spdk/dpdk/lib/librte_eal/common/arch/x86/rte_spinlock.c b/ceph/src/spdk/dpdk/lib/librte_eal/common/arch/x86/rte_spinlock.c
deleted file mode 100644 (file)
index 34890ea..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2010-2014 Intel Corporation
- */
-
-#include <stdint.h>
-
-#include "rte_cpuflags.h"
-
-uint8_t rte_rtm_supported; /* cache the flag to avoid the overhead
-                             of the rte_cpu_get_flag_enabled function */
-
-RTE_INIT(rte_rtm_init)
-{
-       rte_rtm_supported = rte_cpu_get_flag_enabled(RTE_CPUFLAG_RTM);
-}