summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2019-03-14 02:42:43 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-19 13:12:42 +0100
commitd6b577c6201fe12bb33f15167623662f3c5f14d0 (patch)
tree3c28b29e890a84b00121162e6ee2209282c83466
parent92c9a3897a4c08a48aebceb324b01a81fb926e42 (diff)
downloadlinux-stable-d6b577c6201fe12bb33f15167623662f3c5f14d0.tar.gz
linux-stable-d6b577c6201fe12bb33f15167623662f3c5f14d0.tar.bz2
linux-stable-d6b577c6201fe12bb33f15167623662f3c5f14d0.zip
perf/x86/intel: Make dev_attr_allow_tsx_force_abort static
commit c634dc6bdedeb0b2c750fc611612618a85639ab2 upstream. Fixes: 400816f60c54 ("perf/x86/intel: Implement support for TSX Force Abort") Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org> Cc: kbuild-all@01.org Cc: Borislav Petkov <bp@alien8.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/20190313184243.GA10820@lkp-sb-ep06 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/x86/events/intel/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c
index e2a7082f44b3..12453cf7c11b 100644
--- a/arch/x86/events/intel/core.c
+++ b/arch/x86/events/intel/core.c
@@ -3989,7 +3989,7 @@ static struct attribute *intel_pmu_caps_attrs[] = {
NULL
};
-DEVICE_BOOL_ATTR(allow_tsx_force_abort, 0644, allow_tsx_force_abort);
+static DEVICE_BOOL_ATTR(allow_tsx_force_abort, 0644, allow_tsx_force_abort);
static struct attribute *intel_pmu_attrs[] = {
&dev_attr_freeze_on_smi.attr,