Reposting the code because I missed the closing "}" on the last post. Let me know what you think. Thanks, Chris. #include #if defined(CONFIG_SMP) #define __SMP__ #endif #if defined(CONFIG_MODVERSIONS) #define MODVERSIONS #include #endif #include static __init int init_module(void) { printk(KERN_DEBUG "Hello, kernel!\n"); return 0; } static __exit void cleanup_module(void) { printk(KERN_DEBUG "Good-bye, kernel!\n"); }