#include #include #include #if LINUX_VERSION_CODE >= 0x020410 MODULE_LICENSE("GPL"); #endif extern int testfunc(int a); int a,b; int init_module(void){ printk("Load norm : "); a = 5; b = testfunc(a); printk("a=%d , b=%d\n",a,b); return 0; } void cleanup_module(void){ printk("unLoad norm : "); a = 3; b = testfunc(a); printk("a=%d , b=%d\n",a,b); }