Skip to contentSkip to conversation

lib/atomic64_test: fix missing include of linux/kernel.h

tip:x86/urgent tip-bot for Peter Huewe 1 participant 1 message May 24, 2010 1 message not in the archive Library code

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Commit-ID:  0dbdd1bfe0b83798763540111118b78b70792f00
Gitweb:     http://git.kernel.org/tip/0dbdd1bfe0b83798763540111118b78b70792f00
Author:     Peter Huewe <[email protected]>
AuthorDate: Mon, 24 May 2010 12:13:20 -0700
Committer:  H. Peter Anvin <[email protected]>
CommitDate: Mon, 24 May 2010 13:33:32 -0700

lib/atomic64_test: fix missing include of linux/kernel.h

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.

LKML-Reference: <[email protected]>

---
 lib/atomic64_test.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
lib/atomic64_test.c +1 -0
index 65e482c..9087d71 100644
@@ -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)