[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTikfq9bz_cKdvq9ab+KS218Q7uVvoNdJeMe_-RUg@mail.gmail.com>
Date: Fri, 25 Mar 2011 09:45:58 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: mingo@...hat.com, hpa@...or.com, linux-kernel@...r.kernel.org,
dvhart@...ux.intel.com, torvalds@...ux-foundation.org,
peterz@...radead.org, akpm@...ux-foundation.org,
rostedt@...dmis.org, srostedt@...hat.com, tglx@...utronix.de,
laijs@...fujitsu.com, mingo@...e.hu
Cc: linux-tip-commits@...r.kernel.org
Subject: Re: [tip:core/urgent] WARN_ON_SMP(): Allow use in if() statements on UP
On Fri, Mar 25, 2011 at 3:48 AM, tip-bot for Steven Rostedt
<srostedt@...hat.com> wrote:
> -# define WARN_ON_SMP(x) do { } while (0)
> +# define WARN_ON_SMP(x) ({0;})
That's a VERY odd way of writing "0".
Am I missing something subtle?
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists