2 * hello-1.c - The simplest kernel module.
5 #include <linux/module.h> /* Needed by all modules */
6 #include <linux/kernel.h> /* Needed for KERN_INFO */
11 printk("<0>Hello world 1.\n");
13 * A non 0 return means init_module failed; module can't be loaded.
18 void cleanup_module(void)
20 printk("<0>Goodbye world 1.\n");
This page took 0.36307 seconds and 4 git commands to generate.