Skip to content
Snippets Groups Projects
Commit 7c7fcf76 authored by David Howells's avatar David Howells
Browse files

MN10300: Save frame pointer in thread_info struct rather than global var


Save the current exception frame pointer in the thread_info struct rather than
in a global variable as the latter makes SMP tricky, especially when preemption
is also enabled.

This also replaces __frame with current_frame() and rearranges header file
inclusions to make it all compile.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Acked-by: default avatarAkira Takeuchi <takeuchi.akr@jp.panasonic.com>
parent a5e03ca2
No related branches found
No related tags found
Loading
Showing with 76 additions and 146 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment