--- /dev/null
+From adec640e03668e42f30f3b09c0b4d60d44545f6f Mon Sep 17 00:00:00 2001
+From: Christoph Hellwig <hch@lst.de>
+Date: Fri, 28 Aug 2015 09:27:19 +0200
+Subject: mlx5: stop including <asm-generic/kmap_types.h>
+
+From: Christoph Hellwig <hch@lst.de>
+
+commit adec640e03668e42f30f3b09c0b4d60d44545f6f upstream.
+
+<linux/highmem.h> is the placace the get the kmap type flags, asm-generic
+files are generic implementations only to be used by architecture code.
+
+Signed-off-by: Christoph Hellwig <hch@lst.de>
+Signed-off-by: Arnd Bergmann <arnd@arndb.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/infiniband/hw/mlx5/main.c | 2 +-
+ drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 2 +-
+ drivers/net/ethernet/mellanox/mlx5/core/main.c | 2 +-
+ drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+--- a/drivers/infiniband/hw/mlx5/main.c
++++ b/drivers/infiniband/hw/mlx5/main.c
+@@ -30,7 +30,7 @@
+ * SOFTWARE.
+ */
+
+-#include <asm-generic/kmap_types.h>
++#include <linux/highmem.h>
+ #include <linux/module.h>
+ #include <linux/init.h>
+ #include <linux/errno.h>
+--- a/drivers/net/ethernet/mellanox/mlx5/core/cmd.c
++++ b/drivers/net/ethernet/mellanox/mlx5/core/cmd.c
+@@ -30,7 +30,7 @@
+ * SOFTWARE.
+ */
+
+-#include <asm-generic/kmap_types.h>
++#include <linux/highmem.h>
+ #include <linux/module.h>
+ #include <linux/errno.h>
+ #include <linux/pci.h>
+--- a/drivers/net/ethernet/mellanox/mlx5/core/main.c
++++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c
+@@ -30,7 +30,7 @@
+ * SOFTWARE.
+ */
+
+-#include <asm-generic/kmap_types.h>
++#include <linux/highmem.h>
+ #include <linux/module.h>
+ #include <linux/init.h>
+ #include <linux/errno.h>
+--- a/drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
++++ b/drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
+@@ -30,7 +30,7 @@
+ * SOFTWARE.
+ */
+
+-#include <asm-generic/kmap_types.h>
++#include <linux/highmem.h>
+ #include <linux/kernel.h>
+ #include <linux/module.h>
+ #include <linux/mlx5/driver.h>