OSDN Git Service

ARM: allow unwinder to unwind recursive functions
authorRussell King <rmk+kernel@armlinux.org.uk>
Sun, 22 Dec 2019 16:39:40 +0000 (16:39 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 21 Feb 2020 16:58:50 +0000 (16:58 +0000)
commit8d54a27593896895f6166a1ac69eac99c8a6a71a
treee9afb17c3cb3b1d9a10f437f0f8f1c9eba9c7930
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
ARM: allow unwinder to unwind recursive functions

Allow the unwinder to unwind recursive functions if the stack makes
progress, even if the PC is the same. This allows tracing through
recursive __switchdev_handle_port_attr_set() and similar.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/unwind.c