linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: mxs: include asm/processor.h for cpu_relax()
Date: Wed, 29 Jun 2011 22:25:46 +0200	[thread overview]
Message-ID: <20110629202546.GN6069@pengutronix.de> (raw)
In-Reply-To: <20110629071026.GA22630@S2100-06.ap.freescale.net>

On Wed, Jun 29, 2011 at 03:10:27PM +0800, Shawn Guo wrote:
> Hi Sascha,
> 
> Can you apply this patch on your for-next?

Done

Sascha

> 
> Regards,
> Shawn
> 
> On Wed, May 25, 2011 at 11:34:57AM +0200, Wolfram Sang wrote:
> > I get this build error as of today:
> > 
> > arch/arm/mach-mxs/ocotp.c: In function 'mxs_get_ocotp':
> > arch/arm/mach-mxs/ocotp.c:54: error: implicit declaration of function 'cpu_relax'
> > make[2]: *** [arch/arm/mach-mxs/ocotp.o] Error 1
> > 
> > Looks like it has been indirectly included before which broke now.
> > Include it directly.
> > 
> > Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
> > Cc: Shawn Guo <shawn.guo@freescale.com>
> > ---
> >  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..54add60 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>	/* for cpu_relax() */
> > +
> >  #include <mach/mxs.h>
> >  
> >  #define OCOTP_WORD_OFFSET		0x20
> > -- 
> > 1.7.2.5
> > 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

      reply	other threads:[~2011-06-29 20:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-25  9:34 [PATCH] arm: mxs: include asm/processor.h for cpu_relax() Wolfram Sang
2011-05-25 10:44 ` Shawn Guo
2011-05-25 10:47   ` Wolfram Sang
2011-05-25 11:46 ` Shawn Guo
2011-06-29  7:10 ` Shawn Guo
2011-06-29 20:25   ` Sascha Hauer [this message]

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=20110629202546.GN6069@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).