Skip to content

Commit c634dc6

Browse files
intel-lab-lkpKAGA-KOKO
authored andcommitted
perf/x86/intel: Make dev_attr_allow_tsx_force_abort static
Fixes: 400816f ("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
1 parent f764c58 commit c634dc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/events/intel/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4179,7 +4179,7 @@ static struct attribute *intel_pmu_caps_attrs[] = {
41794179
NULL
41804180
};
41814181

4182-
DEVICE_BOOL_ATTR(allow_tsx_force_abort, 0644, allow_tsx_force_abort);
4182+
static DEVICE_BOOL_ATTR(allow_tsx_force_abort, 0644, allow_tsx_force_abort);
41834183

41844184
static struct attribute *intel_pmu_attrs[] = {
41854185
&dev_attr_freeze_on_smi.attr,

0 commit comments

Comments
 (0)