Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932186AbZJEHAJ (ORCPT ); Mon, 5 Oct 2009 03:00:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757821AbZJEHAI (ORCPT ); Mon, 5 Oct 2009 03:00:08 -0400 Received: from bosmailout10.eigbox.net ([66.96.190.10]:37220 "EHLO bosmailout10.eigbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757619AbZJEHAH (ORCPT ); Mon, 5 Oct 2009 03:00:07 -0400 X-Greylist: delayed 2500 seconds by postgrey-1.27 at vger.kernel.org; Mon, 05 Oct 2009 03:00:07 EDT X-EN-OrigOutIP: 10.20.18.16 X-EN-IMPSID: ouGP1c0030LoEWa0000000 Message-ID: <4AC98F4A.7070303@jaysonking.com> Date: Mon, 05 Oct 2009 01:16:42 -0500 From: "Jayson R. King" User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: Ingo Molnar , Peter Zijlstra CC: Jiri Kosina , LKML Subject: [PATCH] sched: Remove obsolete comment in sched_init() Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-EN-UserInfo: 06af1bc540adb20c3d2d7097199478a6:08dd1976e651f6e3791fbe97eaa5f898 X-EN-AuthUser: jaysonking@jaysonking.com X-EN-OrigIP: 67.67.11.191 X-EN-OrigHost: adsl-67-67-11-191.dsl.okcyok.swbell.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 991 Lines: 32 Remove the comment about calling alloc_bootmem() as it is not called here since commit 36b7b6d465489c4754c4fd66fcec6086eba87896. Signed-off-by: Jayson R. King --- kernel/sched.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kernel/sched.c b/kernel/sched.c index 1535f38..d68ac0e 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -9334,10 +9334,6 @@ void __init sched_init(void) #ifdef CONFIG_CPUMASK_OFFSTACK alloc_size += num_possible_cpus() * cpumask_size(); #endif - /* - * As sched_init() is called before page_alloc is setup, - * we use alloc_bootmem(). - */ if (alloc_size) { ptr = (unsigned long)kzalloc(alloc_size, GFP_NOWAIT); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/