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

Commit becf7751 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: Allow panic on division by zero in the kernel"

parents 39279302 30b444b2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/bug.h>

#include <linux/atomic.h>
#include <asm/cacheflush.h>
@@ -784,6 +785,7 @@ void __pgd_error(const char *file, int line, pgd_t pgd)
asmlinkage void __div0(void)
{
	printk("Division by zero in kernel.\n");
	BUG_ON(PANIC_CORRUPTION);
	dump_stack();
}
EXPORT_SYMBOL(__div0);