]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: 8223/1: Add unwinding support for __memzero function
authorLin Yongting <linyongting@gmail.com>
Wed, 26 Nov 2014 13:33:49 +0000 (14:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 27 Nov 2014 16:00:23 +0000 (16:00 +0000)
commit20cb6abfe0062693183eb2a85f7c73792e96407f
tree8a1989fcfd9b1233d8aeed734e0e1e66147eb22b
parent296630c9c8c6ff5f116b417fafa6067d4c7a786e
ARM: 8223/1: Add unwinding support for __memzero function

The __memzero function never had unwinding annotations added.
Currently, when accessing invalid pointer by __memzero occurs the
backtrace shown will stop at __memzero or some completely unrelated
function. Add unwinding annotations in hopes of getting a more
useful backtrace in following cases:
1. die on accessing invalid pointer by __memzero
2. kprobe trapped at any instruction within __memzero
3. interrupted at any instruction within __memzero

Signed-off-by: Lin Yongting <linyongting@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/lib/memzero.S