diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2022-05-13 18:11:14 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2022-05-17 13:35:43 +0300 |
commit | d74862007e0849fad8ba86447e6f05928f920640 (patch) | |
tree | 3b4b0e3aa88dbb682fce761e7b4a79fe5f586c0b /arch/xtensa/kernel/entry.S | |
parent | 408b1d3c0ec8e4f36603092573108a6d3daa07a8 (diff) | |
download | linux-d74862007e0849fad8ba86447e6f05928f920640.tar.xz |
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