]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit21407d4efbd30d90d102154c2040c71bffb52fbf
tree29a915825b1851c1377d88bdb008a0eb7993d78f
parent743f0ce0dfe5fc7419e02e2635f3e9303be3a101
xtensa: add trap_set_handler function

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>
arch/xtensa/include/asm/traps.h [new file with mode: 0644]
arch/xtensa/kernel/traps.c