[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-0dbdd1bfe0b83798763540111118b78b70792f00@git.kernel.org>
Date: Mon, 24 May 2010 23:08:24 GMT
From: tip-bot for Peter Huewe <peterhuewe@....de>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
akpm@...ux-foundation.org, luca@...a-barbieri.com,
peterhuewe@....de, tglx@...utronix.de, hpa@...ux.intel.com
Subject: [tip:x86/urgent] lib/atomic64_test: fix missing include of linux/kernel.h
Commit-ID: 0dbdd1bfe0b83798763540111118b78b70792f00
Gitweb: http://git.kernel.org/tip/0dbdd1bfe0b83798763540111118b78b70792f00
Author: Peter Huewe <peterhuewe@....de>
AuthorDate: Mon, 24 May 2010 12:13:20 -0700
Committer: H. Peter Anvin <hpa@...ux.intel.com>
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.
Signed-off-by: Peter Huewe <peterhuewe@....de>
LKML-Reference: <201005241913.o4OJDKdf010884@...p1.linux-foundation.org>
Cc: Luca Barbieri <luca@...a-barbieri.com>
Cc: "H. Peter Anvin" <hpa@...or.com>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@...ux.intel.com>
---
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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists