Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1215193

[PATCH 4/9] drbd: stop including <asm-generic/kmap_types.h>

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject [PATCH 4/9] drbd: stop including <asm-generic/kmap_types.h>
Date 2015-08-28 09:40 +0200
Message-ID <q2mqt-51a-1@gated-at.bofh.it> (permalink)
References <q2mqt-51a-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


<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/block/drbd/drbd_bitmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/drbd/drbd_bitmap.c b/drivers/block/drbd/drbd_bitmap.c
index 434c77d..2498e883 100644
--- a/drivers/block/drbd/drbd_bitmap.c
+++ b/drivers/block/drbd/drbd_bitmap.c
@@ -29,7 +29,7 @@
 #include <linux/string.h>
 #include <linux/drbd.h>
 #include <linux/slab.h>
-#include <asm/kmap_types.h>
+#include <linux/highmem.h>
 
 #include "drbd_int.h"
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 4/9] drbd: stop including <asm-generic/kmap_types.h> Christoph Hellwig <hch@lst.de> - 2015-08-28 09:40 +0200

csiph-web