Linux Kernel – Simple Program

#include <linux/module.h>	 
#include <linux/kernel.h>	 

int init_module(void)
{
	printk(KERN_INFO "Hi 1.\n");
	return 0;
}

void cleanup_module(void)
{
	printk(KERN_INFO "Bye 1.\n");
}

Comments are closed, but trackbacks and pingbacks are open.