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>

authored by Dave Martin and committed by Russell King 55afd264 ed7c84d5

+1 -1
+1 -1
arch/arm/kernel/entry-armv.S
··· 911 911 * A special ghost syscall is used for that (see traps.c). 912 912 */ 913 913 stmfd sp!, {r7, lr} 914 - ldr r7, =1f @ it's 20 bits 914 + ldr r7, 1f @ it's 20 bits 915 915 swi __ARM_NR_cmpxchg 916 916 ldmfd sp!, {r7, pc} 917 917 1: .word __ARM_NR_cmpxchg