Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: 8438/1: Add unwinding to __clear_user_std()

Add unwinding annotations so that unwinding from this function
works properly.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Stephen Boyd and committed by
Russell King
6f56a68d b97b272e

+4
+4
arch/arm/lib/clear_user.S
··· 9 9 */ 10 10 #include <linux/linkage.h> 11 11 #include <asm/assembler.h> 12 + #include <asm/unwind.h> 12 13 13 14 .text 14 15 ··· 21 20 */ 22 21 ENTRY(__clear_user_std) 23 22 WEAK(arm_clear_user) 23 + UNWIND(.fnstart) 24 + UNWIND(.save {r1, lr}) 24 25 stmfd sp!, {r1, lr} 25 26 mov r2, #0 26 27 cmp r1, #4 ··· 47 44 USER( strnebt r2, [r0]) 48 45 mov r0, #0 49 46 ldmfd sp!, {r1, pc} 47 + UNWIND(.fnend) 50 48 ENDPROC(arm_clear_user) 51 49 ENDPROC(__clear_user_std) 52 50