31 lines
935 B
Diff
31 lines
935 B
Diff
Subject: softirq: Export in_serving_softirq()
|
|
From: John Kacur <jkacur@redhat.com>
|
|
Date: Mon, 14 Nov 2011 02:44:43 +0100
|
|
|
|
ERROR: "in_serving_softirq" [net/sched/cls_cgroup.ko] undefined!
|
|
|
|
The above can be fixed by exporting in_serving_softirq
|
|
|
|
Signed-off-by: John Kacur <jkacur@redhat.com>
|
|
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
|
|
Cc: stable-rt@vger.kernel.org
|
|
Link: http://lkml.kernel.org/r/1321235083-21756-2-git-send-email-jkacur@redhat.com
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
---
|
|
kernel/softirq.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
Index: linux-3.2/kernel/softirq.c
|
|
===================================================================
|
|
--- linux-3.2.orig/kernel/softirq.c
|
|
+++ linux-3.2/kernel/softirq.c
|
|
@@ -439,6 +439,7 @@ int in_serving_softirq(void)
|
|
preempt_enable();
|
|
return res;
|
|
}
|
|
+EXPORT_SYMBOL(in_serving_softirq);
|
|
|
|
/*
|
|
* Called with bh and local interrupts disabled. For full RT cpu must
|