lkml.org 
[lkml]   [2011]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/5] softirq: Export in_serving_softirq()
On Fri, Nov 18, 2011 at 11:45:11PM -0500, Steven Rostedt wrote:
> From: John Kacur <jkacur@redhat.com>
>
> 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>

Reviewed-by: Paul E. 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>
> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
> ---
> kernel/softirq.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/kernel/softirq.c b/kernel/softirq.c
> index e8756aa..026a283 100644
> --- a/kernel/softirq.c
> +++ b/kernel/softirq.c
> @@ -447,6 +447,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
> --
> 1.7.7.1
>
>




\
 
 \ /
  Last update: 2011-11-21 00:25    [W:0.046 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site