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

12 lines
233 B
C
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
/*
* 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(;;);
}