diff options
author | Nathan Huckleberry <[email protected]> | 2019-06-14 11:16:04 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2019-06-23 00:08:52 +0200 |
commit | a9314773a91a1d3b36270085246a6715a326ff00 (patch) | |
tree | b0581828c257c1d614c05e25a7e7e8065376190a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7586addb99322faf4d096fc8beb140f879409212 (diff) |
timer_list: Guard procfs specific code
With CONFIG_PROC_FS=n the following warning is emitted:
kernel/time/timer_list.c:361:36: warning: unused variable
'timer_list_sops' [-Wunused-const-variable]
static const struct seq_operations timer_list_sops = {
Add #ifdef guard around procfs specific code.
Signed-off-by: Nathan Huckleberry <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://github.com/ClangBuiltLinux/linux/issues/534
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions