lib/atomic64_test: fix missing include of linux/kernel.h
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 24 May 2010 19:13:20 +0000 (12:13 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 24 May 2010 20:33:32 +0000 (13:33 -0700)
Fix a build-failure
(http://kisskb.ellerman.id.au/kisskb/buildresult/2601239/) by adding the
missing include file (linux/kernel.h) for printk and KERN_INFO.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
LKML-Reference: <201005241913.o4OJDKdf010884@imap1.linux-foundation.org>
Cc: Luca Barbieri <luca@luca-barbieri.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
lib/atomic64_test.c

index 65e482caf5e9e59be94908cc94a7f6e7d364ea78..9087d71537ddef84c011b86988e17202b007a291 100644 (file)
@@ -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)