From: Christoph Hellwig <hch@lst.de>
To: arnd@arndb.de
Cc: mitake@dcl.info.waseda.ac.jp, dhowells@redhat.com,
herbert@gondor.apana.org.au, oded.gabbay@amd.com,
eli@mellanox.com, james_p_freyensee@linux.intel.com,
linux-gpio@vger.kernel.org, drbd-dev@lists.linbit.com,
linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 6/9] mlx5: stop including <asm-generic/kmap_types.h>
Date: Fri, 28 Aug 2015 09:27:19 +0200 [thread overview]
Message-ID: <1440746842-19029-7-git-send-email-hch@lst.de> (raw)
In-Reply-To: <1440746842-19029-1-git-send-email-hch@lst.de>
<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>
---
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(-)
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c
index 085c24b..37d7c0e 100644
--- 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>
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/cmd.c b/drivers/net/ethernet/mellanox/mlx5/core/cmd.c
index 75ff58d..594a149 100644
--- 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>
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c
index 06e3e1e..b9140b0 100644
--- 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>
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c b/drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
index 8a64542..fda02ec 100644
--- 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>
--
1.9.1
next prev parent reply other threads:[~2015-08-28 7:27 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-28 7:27 fix various asm-generic abuses Christoph Hellwig
2015-08-28 7:27 ` Christoph Hellwig
[not found] ` <1440746842-19029-1-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2015-08-28 7:27 ` [PATCH 1/9] move io-64-nonatomic*.h out of asm-generic Christoph Hellwig
2015-08-28 7:27 ` Christoph Hellwig
2015-08-28 18:19 ` Darren Hart
2015-08-28 18:19 ` Darren Hart
2015-09-01 11:34 ` Hitoshi Mitake
2015-08-28 7:27 ` [PATCH 2/9] move count_zeroes.h " Christoph Hellwig
2015-08-28 7:27 ` Christoph Hellwig
2015-08-28 7:27 ` [PATCH 3/9] amdkfd: use <linux/mman.h> instead of <uapi/asm-generic/mman-common.h> Christoph Hellwig
2015-08-30 9:43 ` Oded Gabbay
2015-08-30 9:43 ` Oded Gabbay
2015-08-28 7:27 ` [PATCH 4/9] drbd: stop including <asm-generic/kmap_types.h> Christoph Hellwig
2015-08-28 7:27 ` Christoph Hellwig
2015-08-28 7:27 ` [PATCH 5/9] hifn_795x: " Christoph Hellwig
2015-08-28 7:27 ` Christoph Hellwig
2015-08-28 13:14 ` Herbert Xu
2015-08-28 13:14 ` Herbert Xu
2015-08-28 7:27 ` Christoph Hellwig [this message]
2015-08-28 7:27 ` [PATCH 6/9] mlx5: " Christoph Hellwig
2015-08-28 7:27 ` [PATCH 7/9] n_tracerouter: stop including <asm-generic/bug> Christoph Hellwig
2015-08-28 7:27 ` Christoph Hellwig
2015-08-28 7:27 ` [PATCH 8/9] n_tracesink: " Christoph Hellwig
2015-08-28 7:27 ` Christoph Hellwig
2015-08-28 7:27 ` [PATCH 9/9] gpio-mxc: " Christoph Hellwig
2015-08-28 7:27 ` Christoph Hellwig
2015-08-28 19:16 ` fix various asm-generic abuses Arnd Bergmann
2015-08-29 13:49 ` Christoph Hellwig
2015-08-29 13:49 ` Christoph Hellwig
2015-10-14 14:41 ` Arnd Bergmann
2015-10-14 14:41 ` Arnd Bergmann
2015-10-06 8:38 ` Christoph Hellwig
2015-10-06 8:38 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1440746842-19029-7-git-send-email-hch@lst.de \
--to=hch@lst.de \
--cc=arnd@arndb.de \
--cc=dhowells@redhat.com \
--cc=drbd-dev@lists.linbit.com \
--cc=eli@mellanox.com \
--cc=herbert@gondor.apana.org.au \
--cc=james_p_freyensee@linux.intel.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mitake@dcl.info.waseda.ac.jp \
--cc=oded.gabbay@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).