From: Valentine Fatiev <valentinef@nvidia.com>
Subject: [PATCH] BACKPORT: drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h

Change-Id: I6ba8cae67da7e2e92a9d302a21e34495aff2a9c8
---
 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h | 4 ++++
 1 file changed, 4 insertions(+)

--- a/drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h
@@ -31,6 +31,8 @@
  *
  */
 
+#ifdef HAVE_UAPI_LINUX_TLS_H
+
 #ifndef __MLX5_ACCEL_TLS_H__
 #define __MLX5_ACCEL_TLS_H__
 
@@ -154,3 +156,5 @@ static inline void mlx5_accel_tls_cleanu
 #endif
 
 #endif	/* __MLX5_ACCEL_TLS_H__ */
+
+#endif
