summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-07-13 21:14:52 +0800
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-07-27 17:58:34 -0400
commit518eeca05c08347f0a69966b4459cc2d152af959 (patch)
treea30298ab10d10bd20fef63d5e6896e5f2a7c67f5
parent87107a25a2f857693156f075da6e2a1438f4b4a0 (diff)
downloadlinux-518eeca05c08347f0a69966b4459cc2d152af959.tar.bz2
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>
-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;