From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [PATCH 1/3] x86/mpx: tweak header name Date: Fri, 8 Feb 2019 16:42:39 +0100 Message-ID: <20190208154239.GI674@zn.tnic> References: <20190124142448.23243-1-mst@redhat.com> <20190124142448.23243-2-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <20190124142448.23243-2-mst@redhat.com> Sender: linux-kernel-owner@vger.kernel.org To: "Michael S. Tsirkin" Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Arnd Bergmann , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org List-Id: linux-arch.vger.kernel.org On Fri, Feb 08, 2019 at 01:02:53AM -0500, Michael S. Tsirkin wrote: > Use linux/mman.h to make sure we get all mmap flags we need. Why, asm/mman.h is not enough or is this fixing a build issue or what is that patch supposed to address? > > Signed-off-by: Michael S. Tsirkin > --- > arch/x86/mm/mpx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/mm/mpx.c b/arch/x86/mm/mpx.c > index de1851d15699..c805db6236b4 100644 > --- a/arch/x86/mm/mpx.c > +++ b/arch/x86/mm/mpx.c > @@ -9,12 +9,12 @@ > #include > #include > #include > +#include > #include > #include > > #include > #include > -#include > #include > #include > #include > -- Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.skyhub.de ([5.9.137.197]:40388 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727411AbfBHPmq (ORCPT ); Fri, 8 Feb 2019 10:42:46 -0500 Date: Fri, 8 Feb 2019 16:42:39 +0100 From: Borislav Petkov Subject: Re: [PATCH 1/3] x86/mpx: tweak header name Message-ID: <20190208154239.GI674@zn.tnic> References: <20190124142448.23243-1-mst@redhat.com> <20190124142448.23243-2-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190124142448.23243-2-mst@redhat.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: "Michael S. Tsirkin" Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Arnd Bergmann , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org Message-ID: <20190208154239.Xegm_F6KLJT63bSH3jcbwxC8Q2djHb7n6q7BifM1CoE@z> On Fri, Feb 08, 2019 at 01:02:53AM -0500, Michael S. Tsirkin wrote: > Use linux/mman.h to make sure we get all mmap flags we need. Why, asm/mman.h is not enough or is this fixing a build issue or what is that patch supposed to address? > > Signed-off-by: Michael S. Tsirkin > --- > arch/x86/mm/mpx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/mm/mpx.c b/arch/x86/mm/mpx.c > index de1851d15699..c805db6236b4 100644 > --- a/arch/x86/mm/mpx.c > +++ b/arch/x86/mm/mpx.c > @@ -9,12 +9,12 @@ > #include > #include > #include > +#include > #include > #include > > #include > #include > -#include > #include > #include > #include > -- Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.