[PATCH 6/9] irq_work: Flush work on CPU_DYING

2012-11-17 Thread Frederic Weisbecker
From: Steven Rostedt In order not to offline a CPU with pending irq works, flush the queue from CPU_DYING. The notifier is called by stop_machine on the CPU that is going down. The code will not be called from irq context (so things like get_irq_regs() wont work) but I'm not sure what the

[PATCH 6/9] irq_work: Flush work on CPU_DYING

2012-11-17 Thread Frederic Weisbecker
From: Steven Rostedt rost...@goodmis.org In order not to offline a CPU with pending irq works, flush the queue from CPU_DYING. The notifier is called by stop_machine on the CPU that is going down. The code will not be called from irq context (so things like get_irq_regs() wont work) but I'm not

[PATCH 6/9] irq_work: Flush work on CPU_DYING

2012-11-15 Thread Frederic Weisbecker
From: Steven Rostedt In order not to offline a CPU with pending irq works, flush the queue from CPU_DYING. The notifier is called by stop_machine on the CPU that is going down. The code will not be called from irq context (so things like get_irq_regs() wont work) but I'm not sure what the

[PATCH 6/9] irq_work: Flush work on CPU_DYING

2012-11-15 Thread Frederic Weisbecker
From: Steven Rostedt rost...@goodmis.org In order not to offline a CPU with pending irq works, flush the queue from CPU_DYING. The notifier is called by stop_machine on the CPU that is going down. The code will not be called from irq context (so things like get_irq_regs() wont work) but I'm not