Commit-ID: f6935b7bfbf8345bea05f73dc48ce81b70f016e0 Gitweb: http://git.kernel.org/tip/f6935b7bfbf8345bea05f73dc48ce81b70f016e0 Author: Luis R. Rodriguez <mcg...@kernel.org> AuthorDate: Wed, 13 Apr 2016 17:04:45 -0700 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Fri, 22 Apr 2016 10:29:08 +0200
x86/init: Disable pnpbios for X86_SUBARCH_INTEL_MID As per hpa Intel MID platforms can also disable pnpbios: ttp://lkml.kernel.org/r/5702b5c2.7070...@zytor.com As per 0-day, this bumps the vmlinux size using i386-tinyconfig as follows: TOTAL TEXT init.text x86_early_init_platform_quirks() -8 -8 -8 -8 Suggested-by: H. Peter Anvin <h...@zytor.com> Signed-off-by: Luis R. Rodriguez <mcg...@kernel.org> Cc: Andy Lutomirski <l...@amacapital.net> Cc: Borislav Petkov <b...@alien8.de> Cc: Brian Gerst <brge...@gmail.com> Cc: Denys Vlasenko <dvlas...@redhat.com> Cc: Linus Torvalds <torva...@linux-foundation.org> Cc: Peter Zijlstra <pet...@infradead.org> Cc: Thomas Gleixner <t...@linutronix.de> Cc: andrew.coop...@citrix.com Cc: andriy.shevche...@linux.intel.com Cc: bige...@linutronix.de Cc: boris.ostrov...@oracle.com Cc: david.vra...@citrix.com Cc: ffaine...@freebox.fr Cc: george.dun...@citrix.com Cc: g...@suse.com Cc: jgr...@suse.com Cc: j...@suse.com Cc: j...@joshtriplett.org Cc: julien.gr...@linaro.org Cc: konrad.w...@oracle.com Cc: kozer...@parallels.com Cc: l...@kernel.org Cc: lgu...@lists.ozlabs.org Cc: linux-a...@vger.kernel.org Cc: lv.zh...@intel.com Cc: m...@codeblueprint.co.uk Cc: mbi...@freebox.fr Cc: r...@rjwysocki.net Cc: robert.mo...@intel.com Cc: ru...@rustcorp.com.au Cc: ti...@suse.de Cc: toshi.k...@hp.com Cc: xen-de...@lists.xensource.com Link: http://lkml.kernel.org/r/1460592286-300-16-git-send-email-mcg...@kernel.org Signed-off-by: Ingo Molnar <mi...@kernel.org> --- arch/x86/kernel/platform-quirks.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/x86/kernel/platform-quirks.c b/arch/x86/kernel/platform-quirks.c index ab64382..8539194 100644 --- a/arch/x86/kernel/platform-quirks.c +++ b/arch/x86/kernel/platform-quirks.c @@ -16,10 +16,8 @@ void __init x86_early_init_platform_quirks(void) break; case X86_SUBARCH_XEN: case X86_SUBARCH_LGUEST: - x86_platform.legacy.devices.pnpbios = 0; - x86_platform.legacy.rtc = 0; - break; case X86_SUBARCH_INTEL_MID: + x86_platform.legacy.devices.pnpbios = 0; x86_platform.legacy.rtc = 0; break; }