mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
microblaze: Clear sticky FSR register after generating exception signals
FSR is sticky, so after the userspace exception/signal generation, clear it ready for next time. Signed-off-by: John Williams <john.williams@petalogix.com>
This commit is contained in:
parent
866d72295d
commit
71b23d547b
1 changed files with 2 additions and 0 deletions
|
@ -384,6 +384,8 @@ handle_other_ex: /* Handle Other exceptions here */
|
||||||
addk r8, r17, r0; /* Load exception address */
|
addk r8, r17, r0; /* Load exception address */
|
||||||
bralid r15, full_exception; /* Branch to the handler */
|
bralid r15, full_exception; /* Branch to the handler */
|
||||||
nop;
|
nop;
|
||||||
|
mts r0, rfsr; /* Clear sticky fsr */
|
||||||
|
nop
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Trigger execution of the signal handler by enabling
|
* Trigger execution of the signal handler by enabling
|
||||||
|
|
Loading…
Reference in a new issue