lkml.org 
[lkml]   [2008]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [BUG] next-20081216 - WARNING: at kernel/smp.c:333 smp_call_function_mask
Date
Sam Ravnborg <sam@ravnborg.org> wrote:

> I recall David Howells had a similar issue with the bootparamter patch set.
> The workaround he used was to add a barrier(); call in the weak function
> to avoid the inline.

Yes I did. Rusty's solution was just to move the default weak functions into
different files.

Attempting to use the noinline attribute does not work.

Of course, you could just stick the functions into lib/ in separate .c files
and dispense with the weak attribute altogether.

David


\
 
 \ /
  Last update: 2008-12-27 10:51    [W:0.139 / U:0.968 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site