sched: Fix __cond_resched annotation typo
PATCH 1/1 sched: Fix __cond_resched annotation typo
I think I found a minor typo.
It seems natural to end with "." rather than ",".
Signed-off-by Hyunwoo Kim <[email protected]>
--- include/linux/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/sched.h +1 -1
@@ -2030,7 +2030,7 @@ static inline int test_tsk_need_resched(struct task_struct *tsk)* cond_resched() and cond_resched_lock(): latency reduction via * explicit rescheduling in places that are safe. The return * value indicates whether a reschedule was done in fact. -* cond_resched_lock() will drop the spinlock before scheduling, +* cond_resched_lock() will drop the spinlock before scheduling. */ #if !defined(CONFIG_PREEMPTION ) || defined(CONFIG_PREEMPT_DYNAMIC )extern int __cond_resched (void );
Signature · 4 lines
2.25.1 Regards, Hyunwoo Kim