On 07/07/2022 00:42, Stefano Stabellini wrote:
On Wed, 6 Jul 2022, Xenia Ragiadakou wrote:
Add the function prototype of show_stack() in <asm/processor.h> header file
so that it is visible before its definition in traps.c.

Although show_stack() is referenced only in traps.c, it is declared with
external linkage because, during development, it is often called also by
other files for debugging purposes. Declaring it static would increase
development effort. Add appropriate comment

Signed-off-by: Xenia Ragiadakou <[email protected]>

Acked-by: Stefano Stabellini <[email protected]>

Committed.

Cheers,

--
Julien Grall

Reply via email to