Re: [uml-user] mdelay() doesn't sleep

2009-10-22 Thread David Ramirez
I've checked the wrong source version, mdelay() is implemented as: n = (loops_per_jiffy * HZ * usecs) / MILLION; for(i=0;i Hi all, > > Recently, I decided to use UML to develope my modules. My module calls > mdelay() macro that is implemented in UML as: > > n = (loops_per_jiffy * HZ * usecs) / MI

[uml-user] mdelay() doesn't sleep

2009-10-22 Thread David Ramirez
Hi all, Recently, I decided to use UML to develope my modules. My module calls mdelay() macro that is implemented in UML as: n = (loops_per_jiffy * HZ * usecs) / MILLION; for(i=0;ihttp://p.sf.net/sfu/devconference ___ User-mode-linux-user mailing list

Re: [uml-user] mdelay() doesn't sleep

2009-10-22 Thread David Ramirez
read); return 0; } static void __exit hello_exit(void) { if (kthread) kthread_stop(kthread); } module_init(hello_init); module_exit(hello_exit); MODULE_LICENSE("Dual BSD/GPL"); --- David Ramirez wrote: > I've checked the wrong s