lkml.org 
[lkml]   [2014]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH v1 34/70] kernel, softirq: _FROZEN Cleanup
Date
Remove XXX_FROZEN state from kernel/softirq.

Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
---
kernel/softirq.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/kernel/softirq.c b/kernel/softirq.c
index 5918d22..c4d4484 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -726,10 +726,9 @@ static void takeover_tasklets(unsigned int cpu)
static int cpu_callback(struct notifier_block *nfb, unsigned long action,
void *hcpu)
{
- switch (action) {
+ switch (action & ~CPU_TASKS_FROZEN) {
#ifdef CONFIG_HOTPLUG_CPU
case CPU_DEAD:
- case CPU_DEAD_FROZEN:
takeover_tasklets((unsigned long)hcpu);
break;
#endif /* CONFIG_HOTPLUG_CPU */
--
2.0.0.rc2


\
 
 \ /
  Last update: 2014-07-23 05:21    [W:0.340 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site