2010년 6월 17일 목요일

test

test
#include <linux/module.h>
#include <linux/init.h>

MODULE_LICENSE( "Dual BSD/GPL" );

static int __init hello_init( void )
{
    printk("hello\n");
    return 0;
}

static void __exit hello_exit( void )
{
    printk("Goodbye \n");
}

module_init( hello_init );
module_exit( hello_exit );
test