aboutsummaryrefslogtreecommitdiff
path: root/linux/kernel/panic.c
blob: feab0ccb2333c2e7ffc787d713ba5aadd8bdd37c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/*
 * This function is used through-out the kernel (includeinh mm and fs)
 * to indicate a major problem.
 */
#include <linux/kernel.h>

volatile void panic(const char * s)
{
	printk("Kernel panic: %s\n\r",s);
	for(;;);
}