OMAP3: Warning: swp{b} use is deprecated for this architecture
Russell King - ARM Linux
linux at arm.linux.org.uk
Thu Dec 16 15:10:42 EST 2010
On Thu, Dec 16, 2010 at 08:04:41PM +0000, Dave Martin wrote:
> Note that the above bit of code is similar/identical to a bit of code
> already present in the OMAP BSP... so this still needs to be
> addressed.
>
> See arch/arm/mach-omap2/sleep34xx.S:lock_scratchpad_sem
That's odd.
| The following warning is issued by the compiler (gcc version 4.4.1
| (Sourcery G++ Lite 2010q1-202):
| arch/arm/mach-omap2/sleep34xx.S:87: Warning: swp{b} use is deprecated
| for this architecture
It seems we're discussing the same code!
As has been pointed out, and as Jean points out, this code is not called
at the moment, so can be removed to resolve the problem.
More information about the linux-arm-kernel
mailing list