lkml.org 
[lkml]   [2015]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [RFC][PATCH] x86: remove vmalloc.h from asm/io.h
Hi Ingo,

On Fri, 29 May 2015 11:21:05 +0200 Ingo Molnar <mingo@kernel.org> wrote:
>
> Good idea.
>
> Acked-by: Ingo Molnar <mingo@kernel.org>

Thanks.

> Please also test x86 allnoconfig and defconfig 32/64, that tends to unearth the
> remaining places. People doing randconfig testing will find the rest.

Good idea. the allnoconfigs produced this further patch. I will
squash it into the original. The defconfigs built ok.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 29 May 2015 22:01:41 +1000
Subject: [PATCH] x86: more fixes for removing vmalloc.h fron asm/io.h

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
arch/x86/include/asm/io.h | 1 +
include/linux/io.h | 1 +
2 files changed, 2 insertions(+)

diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h
index 5791e7ace9db..2a3543a4db1d 100644
--- a/arch/x86/include/asm/io.h
+++ b/arch/x86/include/asm/io.h
@@ -40,6 +40,7 @@
#include <linux/compiler.h>
#include <asm/page.h>
#include <asm/early_ioremap.h>
+#include <asm/pgtable_types.h>

#define build_mmio_read(name, size, type, reg, barrier) \
static inline type name(const volatile void __iomem *addr) \
diff --git a/include/linux/io.h b/include/linux/io.h
index 986f2bffea1e..cb753a2450b8 100644
--- a/include/linux/io.h
+++ b/include/linux/io.h
@@ -19,6 +19,7 @@
#define _LINUX_IO_H

#include <linux/types.h>
+#include <linux/init.h>
#include <asm/io.h>
#include <asm/page.h>

--
2.1.4
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-05-29 15:21    [W:0.056 / U:35.760 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site