OMAP3: Warning: swp{b} use is deprecated for this architecture
Dave Martin
dave.martin at linaro.org
Fri Dec 17 08:20:54 EST 2010
Hi,
On Thu, Dec 16, 2010 at 9:44 PM, Jean Pihet <jean.pihet at newoldbits.com> wrote:
> On Thu, Dec 16, 2010 at 9:10 PM, Russell King - ARM Linux
> <linux at arm.linux.org.uk> wrote:
>> 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!
Hmmm, guess I didn't look closely enough in the filename from the
original post(!)
>>
>> 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.
>>
> Exactly! It is actually planned for removal, cf.
> http://marc.info/?l=linux-omap&m=129252188012958&w=2
Well, that solves the problem nicely, for now...
Cheers
---Dave
> A better solution will be needed at the time the API will be in use.
>
> Thanks,
> Jean
>
More information about the linux-arm-kernel
mailing list