Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23902d95 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Generate correct signal and siginfo for integer div-by-zero

parent bfc32ad0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type,
		if (user_mode(regs)) {
			pr_debug(KERN_WARNING "Divide by zero exception " \
							"in user mode\n");
			_exception(SIGILL, regs, ILL_ILLOPC, addr);
			_exception(SIGILL, regs, FPE_INTDIV, addr);
			return;
		}
		printk(KERN_WARNING "Divide by zero exception " \