aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-sqlite-report
diff options
context:
space:
mode:
authorJann Horn <[email protected]>2019-03-28 16:49:48 +0100
committerBorislav Petkov <[email protected]>2019-03-28 17:03:11 +0100
commitf6027c81099e87516d27d123867f10abd04b2d38 (patch)
treed354e092a893b6d9fa99e02b5dd80f8601df8a68 /tools/perf/scripts/python/bin/export-to-sqlite-report
parent92c77f7c4d5dfaaf45b2ce19360e69977c264766 (diff)
x86/cpufeature: Fix __percpu annotation in this_cpu_has()
&cpu_info.x86_capability is __percpu, and the second argument of x86_this_cpu_test_bit() is expected to be __percpu. Don't cast the __percpu away and then implicitly add it again. This gets rid of 106 lines of sparse warnings with the kernel config I'm using. Signed-off-by: Jann Horn <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Nadav Amit <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: x86-ml <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions