aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorJohn Williams <john.williams@petalogix.com>2009-09-14 22:29:55 -0400
committerMichal Simek <monstr@monstr.eu>2009-09-22 04:00:42 -0400
commit71b23d547b5a06f49acacaf742ebf1a85673f8d1 (patch)
treebdcd2050528c91cd37187e6e5dee54dbe5add150 /arch/microblaze
parent866d72295d52353eeb0c36ccd8e5813dca869265 (diff)
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>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/kernel/hw_exception_handler.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/hw_exception_handler.S b/arch/microblaze/kernel/hw_exception_handler.S
index 0ad0f7011a1a..6b0288ebccd6 100644
--- a/arch/microblaze/kernel/hw_exception_handler.S
+++ b/arch/microblaze/kernel/hw_exception_handler.S
@@ -384,6 +384,8 @@ handle_other_ex: /* Handle Other exceptions here */
384 addk r8, r17, r0; /* Load exception address */ 384 addk r8, r17, r0; /* Load exception address */
385 bralid r15, full_exception; /* Branch to the handler */ 385 bralid r15, full_exception; /* Branch to the handler */
386 nop; 386 nop;
387 mts r0, rfsr; /* Clear sticky fsr */
388 nop
387 389
388 /* 390 /*
389 * Trigger execution of the signal handler by enabling 391 * Trigger execution of the signal handler by enabling