xtensa: add trap_set_handler function
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 19 Nov 2012 04:30:15 +0000 (08:30 +0400)
committerChris Zankel <chris@zankel.net>
Wed, 19 Dec 2012 05:10:22 +0000 (21:10 -0800)
trap_set_handler sets new C-handler in the exception table and returns
previous handler.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>

No differences found