]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8225/1: Add unwinding support for memory copy functions
authorLin Yongting <linyongting@gmail.com>
Wed, 26 Nov 2014 13:38:33 +0000 (14:38 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 27 Nov 2014 16:00:25 +0000 (16:00 +0000)
commit7b6fd84b4d47bfb3580dbfd7eb6cb0d22ab447ea
tree6c772b214b5110c695a2774a5785489bc5c6cfc9
parent0d4183814fddd7e4012ca3ed77884ec164736b43
ARM: 8225/1: Add unwinding support for memory copy functions

The memory copy functions(memcpy, __copy_from_user, __copy_to_user)
never had unwinding annotations added. Currently, when accessing
invalid pointer by these functions occurs the backtrace shown will
stop at these functions 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 these functions
2. kprobe trapped at any instruction within these functions
3. interrupted at any instruction within these functions

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