Fix
[mirrors/Programs.git] / c / lkm-old / hello.c
1 #define MODULE
2 #include <linux/module.h>
3
4 int init_module (void) /* Loads a module in the kernel */
5 {
6 printk("Hello kernel\n");
7 return 0;
8 }
9
10 void cleanup_module(void) /* Removes module from kernel */
11 {
12 printk("GoodBye Kernel\n");
13 }
14
15
This page took 0.31042 seconds and 4 git commands to generate.