From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [RFC][PATCH] x86: remove vmalloc.h from asm/io.h Date: Fri, 29 May 2015 11:21:05 +0200 Message-ID: <20150529092105.GA30603@gmail.com> References: <20150529191847.2d4cb3a7@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-wg0-f52.google.com ([74.125.82.52]:34339 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755589AbbE2JVN (ORCPT ); Fri, 29 May 2015 05:21:13 -0400 Content-Disposition: inline In-Reply-To: <20150529191847.2d4cb3a7@canb.auug.org.au> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Stephen Rothwell Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Konrad Rzeszutek Wilk , Boris Ostrovsky , David Vrabel , Anton Vorontsov , Colin Cross , Kees Cook , Tony Luck , "Rafael J. Wysocki" , Len Brown , Kristen Carlson Accardi , Viresh Kumar , Vinod Koul , "K. Y. Srinivasan" , Haiyang Zhang , Hiral Patel , Suma Ramars , Brian Uchino , "James E.J. Bottomley" , Jaroslav Kysela , Takashi Iwai * Stephen Rothwell wrote: > Nothing in asm/io.h uses anything from vmalloc.h, so remove the include > and fix up the build problems in an allmodconfig (64 bit and 32 bit) > build. > > This may be the place where x86 builds get vmalloc.h implicitly included > and that tends to hide places where vmalloc() et al are added to files > but the include of vmalloc.h is forgotten. Good idea. Acked-by: Ingo Molnar > Based in Linus' tree of today. > > There are probably more places that need vmalloc.h included, but this passes 64 > bit and 32 bit allmodconfig builds, so is a place to start. Please also test x86 allnoconfig and defconfig 32/64, that tends to unearth the remaining places. People doing randconfig testing will find the rest. Thanks, Ingo