]> git.karo-electronics.de Git - karo-tx-linux.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, 28 Nov 2012 20:05:19 +0000 (12:05 -0800)
commitd8666db355091535fe7012690a262c90d4a3aba2
tree19b218381879876db48f84cc7c14e67e47a4a46b
parente9e53517960f18960ec304785178f6a3751f0b28
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