Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757351AbYC3Wnp (ORCPT ); Sun, 30 Mar 2008 18:43:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755993AbYC3WlD (ORCPT ); Sun, 30 Mar 2008 18:41:03 -0400 Received: from smtp5.pp.htv.fi ([213.243.153.39]:53037 "EHLO smtp5.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755988AbYC3WlB (ORCPT ); Sun, 30 Mar 2008 18:41:01 -0400 Date: Mon, 31 Mar 2008 01:40:48 +0300 From: Adrian Bunk To: linux-kernel@vger.kernel.org Subject: [2.6 patch] proper spawn_ksoftirqd() prototype Message-ID: <20080330224048.GL28445@cs181133002.pp.htv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1399 Lines: 46 This patch adds a proper prototype for spawn_ksoftirqd() in include/linux/interrupt.h Signed-off-by: Adrian Bunk --- This patch has been sebt on: - 22 Feb 2008 include/linux/interrupt.h | 1 + init/main.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) be4c4228059d0d56bf9d5a7c902a244625d1f94b diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 8ccc912..1a5c3d1 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h @@ -276,6 +276,7 @@ extern void softirq_init(void); #define __raise_softirq_irqoff(nr) do { or_softirq_pending(1UL << (nr)); } while (0) extern void raise_softirq_irqoff(unsigned int nr); extern void raise_softirq(unsigned int nr); +extern int spawn_ksoftirqd(void); /* Tasklets --- multithreaded analogue of BHs. diff --git a/init/main.c b/init/main.c index 8b19820..7dd9916 100644 --- a/init/main.c +++ b/init/main.c @@ -756,8 +756,6 @@ __setup("nosoftlockup", nosoftlockup_setup); static void __init do_pre_smp_initcalls(void) { - extern int spawn_ksoftirqd(void); - migration_init(); spawn_ksoftirqd(); if (!nosoftlockup) -- 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/