From: Dave Martin Date: Mon, 23 May 2011 11:22:10 +0000 (+0100) Subject: ARM: 6938/1: fiq: Refactor {get,set}_fiq_regs() for Thumb-2 X-Git-Tag: v3.0-rc1~34^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc2eb928a1bcf6a48f40c1f2ff21b66bdbf91a3c;p=pandora-kernel.git ARM: 6938/1: fiq: Refactor {get,set}_fiq_regs() for Thumb-2 * To remove the risk of inconvenient register allocation decisions by the compiler, these functions are separated out as pure assembler. * The apcs frame manipulation code is not applicable for Thumb-2 (and also not easily compatible). Since it's not essential to have a full frame on these leaf assembler functions, the frame manipulation is removed, in the interests of simplicity. * Split up ldm/stm instructions to be compatible with Thumb-2, as well as avoiding instruction forms deprecated on >= ARMv7. Signed-off-by: Dave Martin Reviewed-by: Nicolas Pitre Signed-off-by: Russell King --- Reading git-diff-tree failed