projects
/
wrapfs-4.20.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88aeaf2
)
perf/x86/intel: Make dev_attr_allow_tsx_force_abort static
author
kbuild test robot
<lkp@intel.com>
Wed, 13 Mar 2019 18:42:43 +0000
(
02:42
+0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 19 Mar 2019 12:11:56 +0000
(13:11 +0100)
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>
arch/x86/events/intel/core.c
patch
|
blob
|
history
diff --git
a/arch/x86/events/intel/core.c
b/arch/x86/events/intel/core.c
index db5c769d34ea2127415d0b2bc227d151b2e4c59a..93a31cf01852cac19c5758f1b10cdf8f2133a13f 100644
(file)
--- a/
arch/x86/events/intel/core.c
+++ b/
arch/x86/events/intel/core.c
@@
-4142,7
+4142,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,