Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753315AbbGaOx5 (ORCPT ); Fri, 31 Jul 2015 10:53:57 -0400 Received: from mail-ob0-f181.google.com ([209.85.214.181]:35125 "EHLO mail-ob0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754384AbbGaOxz (ORCPT ); Fri, 31 Jul 2015 10:53:55 -0400 MIME-Version: 1.0 In-Reply-To: References: <1438148483-11932-7-git-send-email-brgerst@gmail.com> Date: Fri, 31 Jul 2015 10:53:54 -0400 Message-ID: Subject: Re: [tip:x86/asm] x86/vm86: Clean up vm86.h includes From: Brian Gerst To: Borislav Petkov , Andy Lutomirski , "H. Peter Anvin" , Ingo Molnar , Linus Torvalds , Thomas Gleixner , Peter Zijlstra , Brian Gerst , Denys Vlasenko , Linux Kernel Mailing List Cc: linux-tip-commits@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2038 Lines: 55 On Fri, Jul 31, 2015 at 10:04 AM, tip-bot for Brian Gerst wrote: > Commit-ID: ba3e127ec105e790eeec4034d9769e018e4a1b54 > Gitweb: http://git.kernel.org/tip/ba3e127ec105e790eeec4034d9769e018e4a1b54 > Author: Brian Gerst > AuthorDate: Wed, 29 Jul 2015 01:41:21 -0400 > Committer: Ingo Molnar > CommitDate: Fri, 31 Jul 2015 13:31:10 +0200 > > x86/vm86: Clean up vm86.h includes > > vm86.h was being implicitly included in alot of places via > processor.h, which in turn got it from math_emu.h. Break that > chain and explicitly include vm86.h in all files that need it. > Also remove unused vm86 field from math_emu_info. > > Signed-off-by: Brian Gerst > Cc: Andy Lutomirski > Cc: Borislav Petkov > Cc: Denys Vlasenko > Cc: H. Peter Anvin > Cc: Linus Torvalds > Cc: Peter Zijlstra > Cc: Thomas Gleixner > Link: http://lkml.kernel.org/r/1438148483-11932-7-git-send-email-brgerst@gmail.com > [ Fixed build failure. ] > Signed-off-by: Ingo Molnar > diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c > index f35ed53..d4cda5e 100644 > --- a/drivers/scsi/dpt_i2o.c > +++ b/drivers/scsi/dpt_i2o.c > @@ -1924,6 +1924,9 @@ static void adpt_alpha_info(sysInfo_S* si) > #endif > > #if defined __i386__ > + > +#include > + > static void adpt_i386_info(sysInfo_S* si) > { > // This is all the info we need for now It would have been better to just remove the the CPU_* defines from this driver. boot_cpu_data.x86 is simply the family ID from CPUID, and nowhere else uses defines like this. -- Brian Gerst -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/