From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Thu, 16 Dec 2010 20:10:42 +0000 Subject: OMAP3: Warning: swp{b} use is deprecated for this architecture In-Reply-To: References: <20101216115657.GP9937@n2100.arm.linux.org.uk> <6188477658179778436@unknownmsgid> Message-ID: <20101216201042.GW9937@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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.