Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1572370

Re: [PATCH v5 3/8] x86: stop exporting msr-index.h to userland

Path csiph.com!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v5 3/8] x86: stop exporting msr-index.h to userland
Date Thu, 02 Feb 2017 14:40:03 +0100
Message-ID <t6pMf-4F2-45@gated-at.bofh.it> (permalink)
References <t5JtE-2Tw-13@gated-at.bofh.it> <t6pCx-4Bc-7@gated-at.bofh.it> <t6pCy-4Bc-21@gated-at.bofh.it>
X-Original-To Nicolas Dichtel <nicolas.dichtel@6wind.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Sk/NkT7USbZx4Ve0WP+VDEWetB6/cII8exqspkv/x1Q=; b=lpjtGN5TjYtYv6EuUAeqdRtkpdZ+Xd3QIugqrmlVPImJjdi6z8l9QjOHtrCcKYtGcz VaTv2zXdGH5e0T6HtZ1mdw+tQdl5MtqihhxAJkvvK4IEcNbc51xN79IbXYPgS7jcWJ2Q HmxueNgLv0cfkAuh655AA6pMdeZqAKVlzqIRr0l+9PtDVrQp3b3/UXvmrxFaJQ+gbVZ8 dIjE98/zxCjh/hmqQRb5eCxAJVIBXGJ0ZvjU1nVi2EnVvUPvYqqAMJnN51bZXrsYyPc7 cbV85QFOTNBovNakwCBXKXdhFmBXZnH9dHRnrm9wLEFh/hcez1bGMosvZNAAZac8BxoD VGSg==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=Sk/NkT7USbZx4Ve0WP+VDEWetB6/cII8exqspkv/x1Q=; b=o/2Bdm/E9e+dL1kS39E/vAltzPlE7SkYN1fKdzjZsA1TBdpW2iY4XvmlvmrMcxXlz7 t9qBN7QAqzE5sDy7zusnIHfHpjQPquNuP+GL8gILeSl5XNaJDjw+sScMwwgMAVNlM6En 6/Qfn5KcYponYR8Fw3sD4nJ7a+2lT75lb4XfzB10sLkuQ+ar6b1AUsABQCKZ8WX9dYfJ X7qpRFQjjuhkH4jN0U3cAM/dEsBTI7WXE1bXQYgwy7TDUwB+ci8KmPvoyQXOvq3ZdI1w Tqhe+NEkSPiH292IghtptmOkMvUfko0FMeGQJZBU1JIU2mXxykBJsqfpjLnwf7iBH16M Gm1w==
X-Gm-Message-State AIkVDXIa9W9N4XpzmB+kbBjWsxCzuC9fXITxnERfVsGQ51jDbclrlk8Qk7TYYDUsTcBhVg==
X-Received by 10.28.9.148 with SMTP id 142mr7127713wmj.42.1486042731004; Thu, 02 Feb 2017 05:38:51 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.24 (2015-08-30)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 32
Organization linux.* mail to news gateway
X-Original-Cc arnd@arndb.de, mmarek@suse.com, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, airlied@linux.ie, davem@davemloft.net, linux@armlinux.org.uk, bp@alien8.de, slash.tmp@free.fr, daniel.vetter@ffwll.ch, rmk+kernel@armlinux.org.uk, msalter@redhat.com, jengelh@inai.de, hch@infradead.org, tklauser@distanz.ch, mpe@ellerman.id.au
X-Original-Date Thu, 2 Feb 2017 14:38:47 +0100
X-Original-Message-ID <20170202133847.GA3393@gmail.com>
X-Original-References <20170131162133.GA8258@gmail.com> <1486041910-2665-1-git-send-email-nicolas.dichtel@6wind.com> <1486041910-2665-4-git-send-email-nicolas.dichtel@6wind.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1572370

Show key headers only | View raw


* Nicolas Dichtel <nicolas.dichtel@6wind.com> wrote:

> Even if this file was not in an uapi directory, it was exported because
> it was listed in the Kbuild file.
> 
> Fixes: b72e7464e4cf ("x86/uapi: Do not export <asm/msr-index.h> as part of the user API headers")
> Suggested-by: Borislav Petkov <bp@alien8.de>
> CC: Ingo Molnar <mingo@kernel.org>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
> ---
>  arch/x86/include/uapi/asm/Kbuild | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/x86/include/uapi/asm/Kbuild b/arch/x86/include/uapi/asm/Kbuild
> index 3dec769cadf7..1c532b3f18ea 100644
> --- a/arch/x86/include/uapi/asm/Kbuild
> +++ b/arch/x86/include/uapi/asm/Kbuild
> @@ -27,7 +27,6 @@ header-y += ldt.h
>  header-y += mce.h
>  header-y += mman.h
>  header-y += msgbuf.h
> -header-y += msr-index.h
>  header-y += msr.h
>  header-y += mtrr.h
>  header-y += param.h

Acked-by: Ingo Molnar <mingo@kernel.org>

Thanks,

	Ingo

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v4 3/7] x86: put msr-index.h in uapi Ingo Molnar <mingo@kernel.org> - 2017-01-31 17:30 +0100
  [PATCH v5 1/8] h8300: put bitsperlong.h in uapi Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
  [PATCH v5 3/8] x86: stop exporting msr-index.h to userland Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
    Re: [PATCH v5 3/8] x86: stop exporting msr-index.h to userland Ingo Molnar <mingo@kernel.org> - 2017-02-02 14:40 +0100
  [PATCH v5 0/8] uapi: export all headers under uapi directories Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
    [PATCH v5 8/8] uapi: export all arch specifics directories Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
      Re: [PATCH v5 8/8] uapi: export all arch specifics directories kbuild test robot <lkp@intel.com> - 2017-02-02 15:40 +0100
      Re: [PATCH v5 8/8] uapi: export all arch specifics directories kbuild test robot <lkp@intel.com> - 2017-02-02 15:50 +0100
    [PATCH v5 4/8] Makefile.headersinst: cleanup input files Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
    [PATCH v5 6/8] uapi: includes linux/types.h before exporting files Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
      Re: [PATCH v5 6/8] uapi: includes linux/types.h before exporting  files kbuild test robot <lkp@intel.com> - 2017-02-02 16:30 +0100
    [PATCH v5 2/8] nios2: put setup.h in uapi Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
    [PATCH v5 5/8] Makefile.headersinst: remove destination-y option Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
      Re: [PATCH v5 5/8] Makefile.headersinst: remove destination-y option Paul Bolle <pebolle@tiscali.nl> - 2017-02-03 22:50 +0100

csiph-web