Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mlx5: stop including <asm-generic/kmap_types.h>

<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>

authored by

Christoph Hellwig and committed by
Arnd Bergmann
adec640e ac8427b9

+4 -4
+1 -1
drivers/infiniband/hw/mlx5/main.c
··· 30 30 * SOFTWARE. 31 31 */ 32 32 33 - #include <asm-generic/kmap_types.h> 33 + #include <linux/highmem.h> 34 34 #include <linux/module.h> 35 35 #include <linux/init.h> 36 36 #include <linux/errno.h>
+1 -1
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
··· 30 30 * SOFTWARE. 31 31 */ 32 32 33 - #include <asm-generic/kmap_types.h> 33 + #include <linux/highmem.h> 34 34 #include <linux/module.h> 35 35 #include <linux/errno.h> 36 36 #include <linux/pci.h>
+1 -1
drivers/net/ethernet/mellanox/mlx5/core/main.c
··· 30 30 * SOFTWARE. 31 31 */ 32 32 33 - #include <asm-generic/kmap_types.h> 33 + #include <linux/highmem.h> 34 34 #include <linux/module.h> 35 35 #include <linux/init.h> 36 36 #include <linux/errno.h>
+1 -1
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
··· 30 30 * SOFTWARE. 31 31 */ 32 32 33 - #include <asm-generic/kmap_types.h> 33 + #include <linux/highmem.h> 34 34 #include <linux/kernel.h> 35 35 #include <linux/module.h> 36 36 #include <linux/mlx5/driver.h>