From: Matthew Leach Date: Fri, 11 Oct 2013 13:52:13 +0000 (+0100) Subject: arm64: compat: correct register concatenation for syscall wrappers X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~54^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55b89540b0d8d031f90e3d711ec0df3f797ecc61;p=pandora-kernel.git arm64: compat: correct register concatenation for syscall wrappers The arm64 port contains wrappers for arm32 syscalls that pass 64-bit values. These wrappers concatenate the two registers to hold a 64-bit value in a single X register. On BE, however, the lower and higher words are swapped. Create a new assembler macro, regs_to_64, that when on BE systems swaps the registers in the orr instruction. Acked-by: Will Deacon Signed-off-by: Matthew Leach Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed