]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/microblaze/kernel/exceptions.c
Merge branch 'master' of ssh://ra.kernel.org/pub/scm/linux/kernel/git/linville/wirele...
[karo-tx-linux.git] / arch / microblaze / kernel / exceptions.c
index 66fad23012216e86cb2f91bdfff053f0e080f208..6348dc82f4289f48b36843ad4e94b81ff0e7e36e 100644 (file)
@@ -119,7 +119,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type,
        case MICROBLAZE_DIV_ZERO_EXCEPTION:
                if (user_mode(regs)) {
                        pr_debug("Divide by zero exception in user mode\n");
-                       _exception(SIGILL, regs, FPE_INTDIV, addr);
+                       _exception(SIGFPE, regs, FPE_INTDIV, addr);
                        return;
                }
                printk(KERN_WARNING "Divide by zero exception " \