lkml.org 
[lkml]   [2014]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] rcu: fix sparse warning for rcu_expedited from kernel/ksysfs.c
On Tue, Feb 11, 2014 at 04:10:12PM -0500, Paul Gortmaker wrote:
> To fix:
>
> kernel/ksysfs.c:143:5: warning: symbol 'rcu_expedited' was not declared. Should it be static?
>
> Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Queued, thank you!

Thanx, Paul

> ---
> kernel/ksysfs.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/kernel/ksysfs.c b/kernel/ksysfs.c
> index d945a949760f..53476a147b9a 100644
> --- a/kernel/ksysfs.c
> +++ b/kernel/ksysfs.c
> @@ -19,6 +19,8 @@
> #include <linux/sched.h>
> #include <linux/capability.h>
>
> +#include "rcu/rcu.h" /* rcu_expedited */
> +
> #define KERNEL_ATTR_RO(_name) \
> static struct kobj_attribute _name##_attr = __ATTR_RO(_name)
>
> --
> 1.8.5.2
>



\
 
 \ /
  Last update: 2014-02-14 02:01    [W:0.056 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site