#include #include MODULE_LICENSE("Dual BSD/GPL"); extern int g_my_export ; static int hello_init(void) { printk(KERN_ALERT "Hello, world1\n"); printk("Value in g_my_export=%d\n",g_my_export) ; return 0; } static void hello_exit(void) { printk(KERN_ALERT "Goodbye, cruel world1\n"); } module_init(hello_init); module_exit(hello_exit);