lkml.org 
[lkml]   [2008]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] #if 0 tasklet_kill_immediate()
This patch #if 0's the no longer used tasklet_kill_immediate().

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

include/linux/interrupt.h | 1 -
kernel/softirq.c | 3 +++
2 files changed, 3 insertions(+), 1 deletion(-)

06fc93a10822d4e9c53eaa2b4d0a16792305957e
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index c3db4a0..59d31dc 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -384,7 +384,6 @@ static inline void tasklet_hi_enable(struct tasklet_struct *t)
}

extern void tasklet_kill(struct tasklet_struct *t);
-extern void tasklet_kill_immediate(struct tasklet_struct *t, unsigned int cpu);
extern void tasklet_init(struct tasklet_struct *t,
void (*func)(unsigned long), unsigned long data);

diff --git a/kernel/softirq.c b/kernel/softirq.c
index bd89bc4..0f87c36 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -527,6 +527,8 @@ wait_to_die:
}

#ifdef CONFIG_HOTPLUG_CPU
+
+#if 0
/*
* tasklet_kill_immediate is called to remove a tasklet which can already be
* scheduled for execution on @cpu.
@@ -555,6 +557,7 @@ void tasklet_kill_immediate(struct tasklet_struct *t, unsigned int cpu)
}
BUG();
}
+#endif /* 0 */

static void takeover_tasklets(unsigned int cpu)
{


\
 
 \ /
  Last update: 2008-01-28 23:21    [W:0.021 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site