Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

CRIS: Allow arch dependent delay to override common version.

+3
+3
include/asm-cris/delay.h
··· 13 13 14 14 extern unsigned long loops_per_usec; /* arch/cris/mm/init.c */ 15 15 16 + /* May be defined by arch/delay.h. */ 17 + #ifndef udelay 16 18 static inline void udelay(unsigned long usecs) 17 19 { 18 20 __delay(usecs * loops_per_usec); 19 21 } 22 + #endif 20 23 21 24 #endif /* defined(_CRIS_DELAY_H) */ 22 25