Commit a82a4804 authored by Xianting Tian's avatar Xianting Tian Committed by Steven Rostedt (VMware)
Browse files

ring-buffer: Fix typos in function ring_buffer_producer

parent b41db132
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.