All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] asm-generic/io.h: remove unnecessary include of linux/vmalloc.h
@ 2017-09-05 11:27 Tobias Klauser
  2017-09-05 15:11 ` Arnd Bergmann
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Tobias Klauser @ 2017-09-05 11:27 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linux-arch, linux-kernel

Including linux/vmalloc.h in asm-generic/io.h isn't necessary since none
of the definitions are used in the header itself. Remove the include in
order to avoid potential header dependency problems if other headers
rely on implict inclusion of linux/vmalloc.h which means that changes
there could break unrelated parts.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 include/asm-generic/io.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h
index b4531e3b2120..d2d3bd163f5f 100644
--- a/include/asm-generic/io.h
+++ b/include/asm-generic/io.h
@@ -764,7 +764,6 @@ static inline void iowrite64_rep(volatile void __iomem *addr,
 
 #ifdef __KERNEL__
 
-#include <linux/vmalloc.h>
 #define __io_virt(x) ((void __force *)(x))
 
 #ifndef CONFIG_GENERIC_IOMAP
-- 
2.13.0

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-11-07 10:24 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-05 11:27 [PATCH] asm-generic/io.h: remove unnecessary include of linux/vmalloc.h Tobias Klauser
2017-09-05 15:11 ` Arnd Bergmann
2017-09-05 15:21   ` Tobias Klauser
2017-09-05 20:49     ` Arnd Bergmann
2017-11-07 10:24   ` Tobias Klauser
2017-09-07 19:31 ` kbuild test robot
2017-09-08  8:25   ` [PATCH] openrisc: add forward declaration for struct vm_area_struct Tobias Klauser
2017-09-08  8:25     ` [OpenRISC] " Tobias Klauser
2017-09-08 15:29     ` Stafford Horne
2017-09-08 15:29       ` [OpenRISC] " Stafford Horne
2017-09-12  7:42       ` Tobias Klauser
2017-09-12  7:42         ` [OpenRISC] " Tobias Klauser
2017-09-12 10:37         ` Stafford Horne
2017-09-12 10:37           ` [OpenRISC] " Stafford Horne
2017-09-12 11:16           ` Tobias Klauser
2017-09-12 11:16             ` [OpenRISC] " Tobias Klauser
2017-09-07 19:36 ` [PATCH] asm-generic/io.h: remove unnecessary include of linux/vmalloc.h kbuild test robot
2017-09-08  8:22   ` Tobias Klauser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.