]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-4.9/0075-x86-stop-exporting-msr-index.h-to-userland.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / queue-4.9 / 0075-x86-stop-exporting-msr-index.h-to-userland.patch
1 From 6bca858dbdc0d5ba3d380302c0a72835b9312f0f Mon Sep 17 00:00:00 2001
2 From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
3 Date: Mon, 27 Mar 2017 14:20:08 +0200
4 Subject: [PATCH 75/76] x86: stop exporting msr-index.h to userland
5
6 commit 25dc1d6cc3082aab293e5dad47623b550f7ddd2a upstream.
7
8 Even if this file was not in an uapi directory, it was exported because
9 it was listed in the Kbuild file.
10
11 Fixes: b72e7464e4cf ("x86/uapi: Do not export <asm/msr-index.h> as part of the user API headers")
12 Suggested-by: Borislav Petkov <bp@alien8.de>
13 Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
14 Acked-by: Ingo Molnar <mingo@kernel.org>
15 Acked-by: Thomas Gleixner <tglx@linutronix.de>
16 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
17 Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
18 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19 ---
20 arch/x86/include/uapi/asm/Kbuild | 1 -
21 1 file changed, 1 deletion(-)
22
23 diff --git a/arch/x86/include/uapi/asm/Kbuild b/arch/x86/include/uapi/asm/Kbuild
24 index 3dec769cadf7..1c532b3f18ea 100644
25 --- a/arch/x86/include/uapi/asm/Kbuild
26 +++ b/arch/x86/include/uapi/asm/Kbuild
27 @@ -27,7 +27,6 @@ header-y += ldt.h
28 header-y += mce.h
29 header-y += mman.h
30 header-y += msgbuf.h
31 -header-y += msr-index.h
32 header-y += msr.h
33 header-y += mtrr.h
34 header-y += param.h
35 --
36 2.21.0
37