All of lore.kernel.org
 help / color / mirror / Atom feed
From: dave.martin@linaro.org (Dave Martin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: omap2: enable smc instruction for sleep34xx
Date: Tue, 19 Apr 2011 10:20:14 +0100	[thread overview]
Message-ID: <20110419092014.GA2267@arm.com> (raw)
In-Reply-To: <loom.20110419T100624-335@post.gmane.org>

On Tue, Apr 19, 2011 at 08:18:37AM +0000, Alexander Stevens wrote:
> Ander?, Oskar <Oskar.Andero <at> sonyericsson.com> writes:
> 
> > 
> > Ping!
> > 
> > Anyone else that gets bitten by the following when compiling
> omap2plus_defconfig with gcc 4.5:
> > arch/arm/mach-omap2/sleep34xx.S:150: Error: selected processor does not
> support ARM mode `smc #1'
> > 
> > -Oskar
> > 
> 
> I can report that I get the exact same compile error as this.
> OP patch worked beautifully.
> 
> -Alex

Can you check what options are being passed to the compiler
and the assembler, and check for .arch / .arch_extension directives
in the assembler input?

i.e.,

make V=1 CFLAGS_KERNEL='-v -save-temps' arch/arm/mach-omap2/sleep34xx.o

...and look at the output and the generated sleep34xx.s

Maybe the options being passed to the compiler/assembler are wrong
somewhere along the line.

---Dave

  reply	other threads:[~2011-04-19  9:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-31 14:19 [PATCH] arm: omap2: enable smc instruction for sleep34xx oskar.andero
2011-04-18 15:51 ` "Anderö, Oskar"
2011-04-18 15:51   ` "Anderö, Oskar"
2011-04-18 15:51   ` "Anderö, Oskar"
2011-04-19  8:18   ` Alexander Stevens
2011-04-19  9:20     ` Dave Martin [this message]
2011-04-19 10:13       ` "Anderö, Oskar"
2011-04-19 10:13         ` "Anderö, Oskar"
2011-04-19 10:28         ` Dave Martin
2011-04-19 10:28           ` Dave Martin
2011-04-19 14:41           ` "Anderö, Oskar"
2011-04-19 14:41             ` "Anderö, Oskar"

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=20110419092014.GA2267@arm.com \
    --to=dave.martin@linaro.org \
    --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 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.