]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_vhost/rte_vhost.h
eal: introduce macro for always inline
[dpdk.git] / lib / librte_vhost / rte_vhost.h
index 605e47cbf0de4441d437f1522734992b3733f2f2..22d0db23db85ca246a90349b62149afc85309e3a 100644 (file)
@@ -120,7 +120,7 @@ struct vhost_device_ops {
  * @return
  *  the host virtual address on success, 0 on failure
  */
-static inline uint64_t __attribute__((always_inline))
+static __rte_always_inline uint64_t
 rte_vhost_gpa_to_vva(struct rte_vhost_memory *mem, uint64_t gpa)
 {
        struct rte_vhost_mem_region *reg;