From: "Peter Hüwe" <PeterHuewe@gmx.de>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-sh@vger.kernel.org, Luca Barbieri <luca@luca-barbieri.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH] lib/atomic64_test: Fix missing include of linux/kernel.h
Date: Thu, 13 May 2010 02:06:23 +0200 [thread overview]
Message-ID: <201005130206.24329.PeterHuewe@gmx.de> (raw)
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
reply other threads:[~2010-05-13 0:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201005130206.24329.PeterHuewe@gmx.de \
--to=peterhuewe@gmx.de \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=luca@luca-barbieri.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®