[RFC PATCH 0/3] headers: Consolidate once/cond style macros

From: Frederic Weisbecker
Date: Tue Oct 15 2013 - 16:51:04 EST



So here is the patchses I had in some branches for a little while.
Please double check especially the 3rd patch because it removes the
use of .data.unlikely for WARN_ON_ONCE.

I'm not sure this section for the "done" state is something we also want
for printk_once(). What do you think?

Thanks.

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
core/once

Thanks,
Frederic
---

Frederic Weisbecker (3):
core: New macro to execute code only once
core: Convert printk_once to use DO_ONCE
bug: Convert warn macros to use once and cond helpers


include/asm-generic/bug.h | 57 ++++++++++-------------------------------------
include/linux/once.h | 26 +++++++++++++++++++++
include/linux/printk.h | 10 ++-------
3 files changed, 40 insertions(+), 53 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/