diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-06-25 06:45:48 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-06-25 10:22:14 +0300 |
commit | bf10c97adbd0dc8fa65c35d5b0c0dc281a68ac8e (patch) | |
tree | ee18a28c2373671090d0049212bf108f9869d72e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2234a6d3a28a971182cc91d5679e444516421de0 (diff) | |
download | linux-bf10c97adbd0dc8fa65c35d5b0c0dc281a68ac8e.tar.xz |
x86/jump_label: Make tp_vec_nr static
Fix sparse warning:
arch/x86/kernel/jump_label.c:106:5: warning:
symbol 'tp_vec_nr' was not declared. Should it be static?
It's only used in jump_label.c, so make it static.
Fixes: ba54f0c3f7c4 ("x86/jump_label: Batch jump label updates")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: <bp@alien8.de>
Cc: <hpa@zytor.com>
Cc: <peterz@infradead.org>
Cc: <bristot@redhat.com>
Cc: <namit@vmware.com>
Link: https://lkml.kernel.org/r/20190625034548.26392-1-yuehaibing@huawei.com
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions