linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] lib/atomic64_test: Fix missing include of linux/kernel.h
@ 2010-05-13  0:06 Peter Hüwe
  0 siblings, 0 replies; only message in thread
From: Peter Hüwe @ 2010-05-13  0:06 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: linux-sh, Luca Barbieri, linux-kernel

From: Peter Huewe <peterhuewe@gmx.de>:

This patch fixes a build-failure[1] by adding the missing include file
(linux/kernel.h) for printk and KERN_INFO.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
KernelVersion: linux-next 20100512
References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/2601239/

 lib/atomic64_test.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/atomic64_test.c b/lib/atomic64_test.c
index 65e482c..9087d71 100644
--- a/lib/atomic64_test.c
+++ b/lib/atomic64_test.c
@@ -9,6 +9,7 @@
  * (at your option) any later version.
  */
 #include <linux/init.h>
+#include <linux/kernel.h>
 #include <asm/atomic.h>
 
 #define INIT(c) do { atomic64_set(&v, c); r = c; } while (0)
-- 
1.6.4.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-13  0:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-13  0:06 [PATCH] lib/atomic64_test: Fix missing include of linux/kernel.h Peter Hüwe

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).