linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Introduce and use DO_ONCE statement expression macro
@ 2009-05-21 23:00 Joe Perches
  2009-05-21 23:00 ` [PATCH 1/3] kernel.h: Add " Joe Perches
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Joe Perches @ 2009-05-21 23:00 UTC (permalink / raw)
  To: linux-kernel
  Cc: cpufreq, Dave Jones, Greg Kroah-Hartman, H. Peter Anvin,
	Ingo Molnar, x86, Len Brown, Mike Travis, Rusty Russell,
	Thomas Gleixner, Venkatesh Pallipadi

The printk_once macro in kernel.h is limited to printk
This generalizes the functionality of printk_once and
allows statements like DO_ONCE(pr_info("foo\n"))
and DO_ONCE(initialize(foo));

Joe Perches (3):
  kernel.h: Add DO_ONCE statement expression macro
  arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c: Use DO_ONCE & spelling fix
  kernel.h: Remove unused printk_once

 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c |    4 ++--
 include/linux/kernel.h                     |   27 ++++++++++++---------------
 2 files changed, 14 insertions(+), 17 deletions(-)


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-05-26  2:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-21 23:00 [PATCH 0/3] Introduce and use DO_ONCE statement expression macro Joe Perches
2009-05-21 23:00 ` [PATCH 1/3] kernel.h: Add " Joe Perches
2009-05-21 23:27   ` Randy Dunlap
2009-05-21 23:32     ` Joe Perches
2009-05-21 23:36       ` H. Peter Anvin
2009-05-21 23:41       ` Alan Cox
2009-05-22  0:27   ` Al Viro
2009-05-22  1:09     ` Joe Perches
2009-05-25  6:45   ` Rusty Russell
2009-05-26  2:42   ` Andrew Morton
2009-05-21 23:00 ` [PATCH 2/3] arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c: Use DO_ONCE & spelling fix Joe Perches
2009-05-21 23:26   ` Dave Jones
2009-05-21 23:34     ` Joe Perches
2009-05-21 23:47       ` Dave Jones
2009-05-21 23:52         ` Joe Perches
2009-05-21 23:00 ` [PATCH 3/3] kernel.h: Remove unused printk_once Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).