1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Copyright (C) 1998-2002 Axis Communications AB
8 * Delay routines, using a pre-computed "loops_per_second" value.
11 #include <arch/delay.h>
13 /* Use only for very small delays ( < 1 msec). */
15 extern unsigned long loops_per_usec
; /* arch/cris/mm/init.c */
17 /* May be defined by arch/delay.h. */
19 static inline void udelay(unsigned long usecs
)
21 __delay(usecs
* loops_per_usec
);
25 #endif /* defined(_CRIS_DELAY_H) */