All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: Russell King <linux@arm.linux.org.uk>,
	linux-arm-kernel@lists.infradead.org,
	Sascha Hauer <kernel@pengutronix.de>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] arm/mxs: Fix build failure on ocotp.c
Date: Mon, 06 Jun 2011 01:40:38 -0600	[thread overview]
Message-ID: <20110606074024.23861.55150.stgit@ponder> (raw)

arch/arm/mach-mxs/ocotp.c needs to include asm/processor.h to get the
definition of cpu_relax().

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
 arch/arm/mach-mxs/ocotp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-mxs/ocotp.c b/arch/arm/mach-mxs/ocotp.c
index 65157a3..c7a4d34 100644
--- a/arch/arm/mach-mxs/ocotp.c
+++ b/arch/arm/mach-mxs/ocotp.c
@@ -16,6 +16,8 @@
 #include <linux/err.h>
 #include <linux/mutex.h>
 
+#include <asm/processor.h>
+
 #include <mach/mxs.h>
 
 #define OCOTP_WORD_OFFSET		0x20


WARNING: multiple messages have this Message-ID (diff)
From: grant.likely@secretlab.ca (Grant Likely)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm/mxs: Fix build failure on ocotp.c
Date: Mon, 06 Jun 2011 01:40:38 -0600	[thread overview]
Message-ID: <20110606074024.23861.55150.stgit@ponder> (raw)

arch/arm/mach-mxs/ocotp.c needs to include asm/processor.h to get the
definition of cpu_relax().

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
 arch/arm/mach-mxs/ocotp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-mxs/ocotp.c b/arch/arm/mach-mxs/ocotp.c
index 65157a3..c7a4d34 100644
--- a/arch/arm/mach-mxs/ocotp.c
+++ b/arch/arm/mach-mxs/ocotp.c
@@ -16,6 +16,8 @@
 #include <linux/err.h>
 #include <linux/mutex.h>
 
+#include <asm/processor.h>
+
 #include <mach/mxs.h>
 
 #define OCOTP_WORD_OFFSET		0x20

             reply	other threads:[~2011-06-06  7:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-06  7:40 Grant Likely [this message]
2011-06-06  7:40 ` [PATCH] arm/mxs: Fix build failure on ocotp.c Grant Likely
2011-06-06  8:45 ` Shawn Guo
2011-06-06  8:45   ` Shawn Guo

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=20110606074024.23861.55150.stgit@ponder \
    --to=grant.likely@secretlab.ca \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.