From 61ad5f9b9439927210e2d16eb49a938f5b16dfb9 Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Fri, 25 Feb 2011 16:46:30 +0000 Subject: [PATCH] Kernel: small comment fix (Bug#562, reported by Ryan Riley) --- kernel/proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/proc.c b/kernel/proc.c index cb972bec1..88baa17b9 100644 --- a/kernel/proc.c +++ b/kernel/proc.c @@ -1537,7 +1537,7 @@ PRIVATE struct proc * pick_proc(void) * When a billable process is selected, record it in 'bill_ptr', so that the * clock task can tell who to bill for system time. * - * This functions always uses the run queues of the local cpu! + * This function always uses the run queues of the local cpu! */ register struct proc *rp; /* process to run */ struct proc **rdy_head; @@ -1545,7 +1545,7 @@ PRIVATE struct proc * pick_proc(void) /* Check each of the scheduling queues for ready processes. The number of * queues is defined in proc.h, and priorities are set in the task table. - * The lowest queue contains IDLE, which is always ready. + * If there are no processes ready to run, return NULL. */ rdy_head = get_cpulocal_var(run_q_head); for (q=0; q < NR_SCHED_QUEUES; q++) {