Skip to contentSkip to conversation

include/asm-frv/delay.h: bogus ndelay() definition?

DISCUSSION Denis Vlasenko 1 participant 1 message Jul 1, 2005

lore
Share & tools
lore
#0 lore raw

include/asm-frv/delay.h:

static inline void udelay(unsigned long usecs)

 {
        __delay(usecs * __delay_loops_MHz);

}

#define ndelay(n) udelay((n) * 5)

This is anything but correct nanosecond delay.
Does anybody know what's going on here?!
--
vda