MN10300: Save frame pointer in thread_info struct rather than global var
authorDavid Howells <dhowells@redhat.com>
Wed, 27 Oct 2010 16:29:01 +0000 (17:29 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 27 Oct 2010 16:29:01 +0000 (17:29 +0100)
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: David Howells <dhowells@redhat.com>
Acked-by: Akira Takeuchi <takeuchi.akr@jp.panasonic.com>

No differences found