|
@@ -54,7 +54,7 @@ EXPORT_SYMBOL(irq_stat);
|
|
|
|
|
|
static struct softirq_action softirq_vec[NR_SOFTIRQS] __cacheline_aligned_in_smp;
|
|
|
|
|
|
-static DEFINE_PER_CPU(struct task_struct *, ksoftirqd);
|
|
|
+DEFINE_PER_CPU(struct task_struct *, ksoftirqd);
|
|
|
|
|
|
char *softirq_to_name[NR_SOFTIRQS] = {
|
|
|
"HI", "TIMER", "NET_TX", "NET_RX", "BLOCK", "BLOCK_IOPOLL",
|
|
@@ -721,7 +721,6 @@ static int run_ksoftirqd(void * __bind_cpu)
|
|
|
{
|
|
|
set_current_state(TASK_INTERRUPTIBLE);
|
|
|
|
|
|
- current->flags |= PF_KSOFTIRQD;
|
|
|
while (!kthread_should_stop()) {
|
|
|
preempt_disable();
|
|
|
if (!local_softirq_pending()) {
|