summaryrefslogtreecommitdiffstats
path: root/kernel/trace/preemptirq_delay_test.c
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-07-13 15:14:52 +0200
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-07-27 23:58:34 +0200
commit518eeca05c08347f0a69966b4459cc2d152af959 (patch)
treea30298ab10d10bd20fef63d5e6896e5f2a7c67f5 /kernel/trace/preemptirq_delay_test.c
parenttracing/kprobes: Simplify the logic of enable_trace_kprobe() (diff)
downloadlinux-518eeca05c08347f0a69966b4459cc2d152af959.tar.xz
linux-518eeca05c08347f0a69966b4459cc2d152af959.zip
tracing: preemptirq_delay_run() can be static
Automatically found by kbuild test robot. Fixes: ffdc73a3b2ad ("lib: Add module for testing preemptoff/irqsoff latency tracers") Signed-off-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/preemptirq_delay_test.c')
-rw-r--r--kernel/trace/preemptirq_delay_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/preemptirq_delay_test.c b/kernel/trace/preemptirq_delay_test.c
index c97a026c0720..f704390db9fc 100644
--- a/kernel/trace/preemptirq_delay_test.c
+++ b/kernel/trace/preemptirq_delay_test.c
@@ -34,7 +34,7 @@ static void busy_wait(ulong time)
} while (ktime_to_ns(ktime_sub(end, start)) < (time * 1000));
}
-int preemptirq_delay_run(void *data)
+static int preemptirq_delay_run(void *data)
{
unsigned long flags;