From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751708AbbEGTq5 (ORCPT ); Thu, 7 May 2015 15:46:57 -0400 Received: from mail-lb0-f171.google.com ([209.85.217.171]:32981 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751187AbbEGTqz (ORCPT ); Thu, 7 May 2015 15:46:55 -0400 MIME-Version: 1.0 In-Reply-To: <20150507165835.GB18652@redhat.com> References: <20150506165400.GA9327@redhat.com> <20150506171749.GB23762@pd.tnic> <20150506173035.GA19933@redhat.com> <20150506173703.GC23762@pd.tnic> <20150507165818.GA18652@redhat.com> <20150507165835.GB18652@redhat.com> From: Andy Lutomirski Date: Thu, 7 May 2015 12:46:33 -0700 Message-ID: Subject: Re: [PATCH 1/1] x86/vdso: add -Iarch/x86/include/uapi into HOST_EXTRACFLAGS To: Oleg Nesterov , Ingo Molnar , X86 ML Cc: Borislav Petkov , Rusty Russell , Jiri Olsa , "linux-kernel@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 On Thu, May 7, 2015 at 9:58 AM, Oleg Nesterov wrote: > Change HOST_EXTRACFLAGS to include arch/x86/include/uapi along with > include/uapi. > > This looks more consistent, and this fixes "make bzImage" on my old > distro which doesn't have asm/bitsperlong.h in /usr/include/. > > Signed-off-by: Oleg Nesterov Fixed: 6f121e548f83 x86, vdso: Reimplement vdso.so preparation in build-time C Acked-by: Andy Lutomirski Ingo, despite Oleg's rather late discovery of this, it's a regression fix. If you think it's appropriate for x86/urgent, please apply it. Otherwise I'll queue it up. --Andy > --- > arch/x86/vdso/Makefile | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/x86/vdso/Makefile b/arch/x86/vdso/Makefile > index 275a3a8..e970320 100644 > --- a/arch/x86/vdso/Makefile > +++ b/arch/x86/vdso/Makefile > @@ -51,7 +51,7 @@ VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ > $(obj)/vdso64.so.dbg: $(src)/vdso.lds $(vobjs) FORCE > $(call if_changed,vdso) > > -HOST_EXTRACFLAGS += -I$(srctree)/tools/include -I$(srctree)/include/uapi > +HOST_EXTRACFLAGS += -I$(srctree)/tools/include -I$(srctree)/include/uapi -I$(srctree)/arch/x86/include/uapi > hostprogs-y += vdso2c > > quiet_cmd_vdso2c = VDSO2C $@ > -- > 1.5.5.1 > > -- Andy Lutomirski AMA Capital Management, LLC