RE: delay help

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

 






_udelay(unsigned long usecs)
__const_udelay(usecs * 0x000010c6);

__ndelay(unsigned long nsecs)
__const_udelay(nsecs * 0x00005);


can any body tell me why 0x000010c6 & 0x00005 values are use in milisecond and microsecond delay respectively

it is microsecond and nanosecond.Typing mistake

The function is defined in linux\2.6.7\arch\i366\lib\delay.c>rajes


rajee

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux