securityos/public/Users/Public/Sistemas/1º Linux/Linux-0.0.1/kernel/panic.c

12 lines
233 B
C

/*
* 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(;;);
}