[tip:x86/cache] x86/intel_rdt: Add a missing #include

From: tip-bot for Borislav Petkov
Date: Mon Nov 07 2016 - 03:56:18 EST


Commit-ID: 8ff42c02193150720815608ed03de8d45aeaf8a8
Gitweb: http://git.kernel.org/tip/8ff42c02193150720815608ed03de8d45aeaf8a8
Author: Borislav Petkov <bp@xxxxxxx>
AuthorDate: Wed, 2 Nov 2016 17:51:17 +0100
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Mon, 7 Nov 2016 08:36:16 +0100

x86/intel_rdt: Add a missing #include

... to fix this build warning:

In file included from arch/x86/kernel/cpu/intel_rdt.c:33:0:
./arch/x86/include/asm/intel_rdt.h:56:25: warning: âstruct kernfs_open_fileâ declared inside parameter list will not be visible outside of this definition or declaration
int (*seq_show)(struct kernfs_open_file *of,
^~~~~~~~~~~~~~~~
...

Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Cc: Dave Hansen <dave.hansen@xxxxxxxxx>
Cc: David Carrillo-Cisneros <davidcc@xxxxxxxxxx>
Cc: Fenghua Yu <fenghua.yu@xxxxxxxxx>
Cc: H. Peter Anvin <h.peter.anvin@xxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Nilay Vaish <nilayvaish@xxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Ravi V Shankar <ravi.v.shankar@xxxxxxxxx>
Cc: Sai Prakhya <sai.praneeth.prakhya@xxxxxxxxx>
Cc: Shaohua Li <shli@xxxxxx>
Cc: Stephane Eranian <eranian@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Tony Luck <tony.luck@xxxxxxxxx>
Cc: Vikas Shivappa <vikas.shivappa@xxxxxxxxxxxxxxx>
Link: http://lkml.kernel.org/r/20161102165117.23545-1-bp@xxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
arch/x86/include/asm/intel_rdt.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/include/asm/intel_rdt.h b/arch/x86/include/asm/intel_rdt.h
index 5bc72a4..6e90e87 100644
--- a/arch/x86/include/asm/intel_rdt.h
+++ b/arch/x86/include/asm/intel_rdt.h
@@ -3,6 +3,7 @@

#ifdef CONFIG_INTEL_RDT_A

+#include <linux/kernfs.h>
#include <linux/jump_label.h>

#include <asm/intel_rdt_common.h>