summaryrefslogtreecommitdiff
path: root/arch/xtensa/kernel/entry.S
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2022-05-13 08:11:14 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2022-05-17 03:35:43 -0700
commitd74862007e0849fad8ba86447e6f05928f920640 (patch)
tree3b4b0e3aa88dbb682fce761e7b4a79fe5f586c0b /arch/xtensa/kernel/entry.S
parent408b1d3c0ec8e4f36603092573108a6d3daa07a8 (diff)
xtensa: support artificial division by 0 exception
On xtensa cores wihout hardware division option division support functions from libgcc react to division by 0 attempt by executing illegal instruction followed by the characters 'DIV0'. Recognize this pattern in illegal instruction exception handler and convert it to division by 0. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/kernel/entry.S')
0 files changed, 0 insertions, 0 deletions