Re: Problem Compiling Kernel Module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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");
}
			
			
			
			
		


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux