lkml.org 
[lkml]   [2015]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] assoc_array: Include rcupdate.h for call_rcu() definition
Date
Pranith Kumar <bobby.prani@gmail.com> wrote:

> Include rcupdate.h header to provide call_rcu() definition. This was implicitly
> being provided by slab.h file which include srcu.h somewhere in its include
> hierarchy which in-turn included rcupdate.h.
>
> Lately, tinification effort added support to remove srcu entirely because of
> which we are encountering build errors like
>
> lib/assoc_array.c: In function 'assoc_array_apply_edit':
> lib/assoc_array.c:1426:2: error: implicit declaration of function 'call_rcu' [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
>
> Fix these by including rcupdate.h explicitly.
>
> Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
> Reported-by: Scott Wood <scottwood@freescale.com>

Applied.


\
 
 \ /
  Last update: 2015-01-05 17:21    [W:0.080 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site