Commit d6b577c6 authored by kbuild test robot's avatar kbuild test robot Committed by Greg Kroah-Hartman

perf/x86/intel: Make dev_attr_allow_tsx_force_abort static

commit c634dc6b upstream.

Fixes: 400816f6 ("perf/x86/intel: Implement support for TSX Force Abort")
Signed-off-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarThomas 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-ep06Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 92c9a389
...@@ -3989,7 +3989,7 @@ static struct attribute *intel_pmu_caps_attrs[] = { ...@@ -3989,7 +3989,7 @@ static struct attribute *intel_pmu_caps_attrs[] = {
NULL 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[] = { static struct attribute *intel_pmu_attrs[] = {
&dev_attr_freeze_on_smi.attr, &dev_attr_freeze_on_smi.attr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment