From mboxrd@z Thu Jan 1 00:00:00 1970 From: mark.rutland@arm.com (Mark Rutland) Date: Tue, 6 Jan 2015 10:34:04 +0000 Subject: [PATCH 4/4] arm64: fix missing asm/io.h include in kernel/smp_spin_table.c In-Reply-To: <20150106015220.27249.74970.stgit@dusk.lan> References: <20150106014554.27249.89116.stgit@dusk.lan> <20150106015220.27249.74970.stgit@dusk.lan> Message-ID: <20150106103404.GB4858@leverpostej> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Paul, On Tue, Jan 06, 2015 at 01:52:26AM +0000, Paul Walmsley wrote: > On next-20150105, defconfig compilation breaks with: > > arch/arm64/kernel/smp_spin_table.c:80:2: error: implicit declaration of function ?ioremap_cache? [-Werror=implicit-function-declaration] > arch/arm64/kernel/smp_spin_table.c:92:2: error: implicit declaration of function ?writeq_relaxed? [-Werror=implicit-function-declaration] > arch/arm64/kernel/smp_spin_table.c:101:2: error: implicit declaration of function ?iounmap? [-Werror=implicit-function-declaration] > > Fix by including asm/io.h, which contains definitions or prototypes > for these macros or functions. > > Signed-off-by: Paul Walmsley > Cc: Paul Walmsley > Cc: Catalin Marinas > Cc: Will Deacon > --- > arch/arm64/kernel/smp_spin_table.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/kernel/smp_spin_table.c b/arch/arm64/kernel/smp_spin_table.c > index 4f93c67e63de..4d9f10b9d869 100644 > --- a/arch/arm64/kernel/smp_spin_table.c > +++ b/arch/arm64/kernel/smp_spin_table.c > @@ -26,6 +26,7 @@ > #include > #include > #include > +#include Nit: please move between the include of asm/cputype and asm/smp_plat.h, so as to keep the list in alphabetical order. Otherwise: Acked-by: Mark Rutland Thanks, Mark. > > extern void secondary_holding_pen(void); > volatile unsigned long secondary_holding_pen_release = INVALID_HWID; > > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel