Move panic and family docs to README

This commit is contained in:
Ciro Santilli
2018-07-01 20:45:49 +01:00
parent 50cb67e2e2
commit 410b662db2
6 changed files with 10 additions and 9 deletions

View File

@@ -5,11 +5,6 @@
.. link:hello.c[]
.. link:hello2.c[]
.. link:printk.c[]
. Panic and friends
.. link:panic.c[]
.. link:oops.c[]
.. link:dump_stack.c[]
.. link:warn_on.c[]
. Modules
.. link:params.c[]
.. link:vermagic.c[]

View File

@@ -1,3 +1,5 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#dump_stack */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kthreads */
/* https://github.com/cirosantilli/linux-kernel-module-cheat#mmap */
#include <linux/fs.h>
#include <linux/init.h>

View File

@@ -1,3 +1,5 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-panic-and-oops */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,3 +1,7 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-panic-and-oops */
Kernel panic and oops
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,6 +1,4 @@
/*
Prints a backtrace.
*/
/* https://github.com/cirosantilli/linux-kernel-module-cheat#warn_on */
#include <linux/module.h>
#include <linux/kernel.h>