lkml.org 
[lkml]   [2011]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: um: WARNING: at kernel/futex.c:786 __unqueue_futex
From
Date
On Thu, 2011-03-17 at 18:43 +0100, Geert Uytterhoeven wrote:

> I don't know. It's not clear to me if "WARN_ON_SMP(x)" should always return "x",
> or only on SMP?
>
> E.g.
>
> if (WARN_ON_SMP(x)) {
> // Should we get here if "x" is true?
> // Or only if CONFIG_SMP and "x" are both true?
> }
>

The "Or only if CONFIG_SMP and "x" are both true.

I'll update the change to add a comment about that.

-- Steve




\
 
 \ /
  Last update: 2011-03-17 19:25    [W:0.364 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site