Skip to contentSkip to conversation

proper spawn_ksoftirqd() prototype

PATCH New Adrian Bunk 1 participant 1 message Mar 30, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 proper spawn_ksoftirqd() prototype

This patch adds a proper prototype for spawn_ksoftirqd() in include/linux/interrupt.h

---

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

include/linux/interrupt.h +1 -0
@@ -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.
init/main.c +0 -2
index 8b19820..7dd9916 100644
@@ -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)