summaryrefslogtreecommitdiff
path: root/kernel/trace
diff options
context:
space:
mode:
authorXianting Tian <xianting_tian@126.com>2019-11-16 10:05:55 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-11-22 19:41:08 -0500
commita82a4804b4ee3636c8988fea14d44f70f4de45f1 (patch)
treeb606dd77220ccec087d7e5f34d7c3130a5bfee52 /kernel/trace
parentb41db132821fdad9d80a177344a47468791fbe62 (diff)
ring-buffer: Fix typos in function ring_buffer_producer
Fix spelling and other typos Link: http://lkml.kernel.org/r/1573916755-32478-1-git-send-email-xianting_tian@126.com Signed-off-by: Xianting Tian <xianting_tian@126.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/ring_buffer_benchmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/ring_buffer_benchmark.c b/kernel/trace/ring_buffer_benchmark.c
index 09b0b49f346e..32149e46551c 100644
--- a/kernel/trace/ring_buffer_benchmark.c
+++ b/kernel/trace/ring_buffer_benchmark.c
@@ -269,10 +269,10 @@ static void ring_buffer_producer(void)
#ifndef CONFIG_PREEMPTION
/*
- * If we are a non preempt kernel, the 10 second run will
+ * If we are a non preempt kernel, the 10 seconds run will
* stop everything while it runs. Instead, we will call
* cond_resched and also add any time that was lost by a
- * rescedule.
+ * reschedule.
*
* Do a cond resched at the same frequency we would wake up
* the reader.