tracing: preemptirq_delay_run() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Fri, 13 Jul 2018 13:14:52 +0000 (21:14 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 27 Jul 2018 21:58:34 +0000 (17:58 -0400)
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>
kernel/trace/preemptirq_delay_test.c

index c97a026c07205139bc5c6e5cba31786e8acea76e..f704390db9fcdf596700313c536451479f79e7ef 100644 (file)
@@ -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;