Re: the world's shortest module

2007-11-28 Thread Rene Herman
On 28-11-07 11:46, Robert P. J. Day wrote: based on a book i'm reading, apparently i can write a loadable module whose entire source file is nothing more than: = #include #include module_param(jiffies, uint, 444) ; MODULE_LICENSE("Dual BSD/GPL"); = as you can see, its entire pu

Re: the world's shortest module

2007-11-28 Thread Robert P. J. Day
On Wed, 28 Nov 2007, Rene Herman wrote: > On 28-11-07 11:46, Robert P. J. Day wrote: > > > based on a book i'm reading, apparently i can write a loadable > > module whose entire source file is nothing more than: > > > > = > > #include > > #include > > > > module_param(jiffies, uint, 444) ;

the world's shortest module

2007-11-28 Thread Robert P. J. Day
based on a book i'm reading, apparently i can write a loadable module whose entire source file is nothing more than: = #include #include module_param(jiffies, uint, 444) ; MODULE_LICENSE("Dual BSD/GPL"); = as you can see, its entire purpose is to make the internal value "jiffies"