ARM: 6519/1: kuser: Fix incorrect cmpxchg syscall in kuser helpers
authorDave Martin <dave.martin@linaro.org>
Wed, 1 Dec 2010 17:12:43 +0000 (18:12 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 4 Dec 2010 11:01:12 +0000 (11:01 +0000)
commit55afd264cdd5d5848753e90884ed596e11bce0ff
treeb1c55d9f8b51b5f93bd89ea2e523da7230a47fd6
parented7c84d54837b182c5f56f821ef213c8ca817a91
ARM: 6519/1: kuser: Fix incorrect cmpxchg syscall in kuser helpers

The existing code invokes the syscall with rubbish in r7,
due to what looks like an incorrect literal load idiom.

Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Dave Martin <dave.martin@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-armv.S