From: Will Deacon Date: Wed, 23 Nov 2011 10:28:25 +0000 (+0100) Subject: ARM: 7171/1: unwind: add unwind directives to bitops assembly macros X-Git-Tag: v3.2-rc4~2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c36ef4b1762302a493c6cb754073bded084700e2;p=pandora-kernel.git ARM: 7171/1: unwind: add unwind directives to bitops assembly macros The bitops functions (e.g. _test_and_set_bit) on ARM do not have unwind annotations and therefore the kernel cannot backtrace out of them on a fatal error (for example, NULL pointer dereference). This patch annotates the bitops assembly macros with UNWIND annotations so that we can produce a meaningful backtrace on error. Callers of the macros are modified to pass their function name as a macro parameter, enforcing that the macros are used as standalone function implementations. Acked-by: Dave Martin Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed