| * This file is subject to the terms and conditions of the GNU General Public |
| * License. See the file "COPYING" in the main directory of this archive |
| * Copyright (C) 1994 by Waldorf Electronics |
| * Copyright (C) 1995 - 2000, 01, 03 by Ralf Baechle |
| * Copyright (C) 1999, 2000 Silicon Graphics, Inc. |
| * Copyright (C) 2007 Maciej W. Rozycki |
| extern void __delay(unsigned int loops); |
| extern void __ndelay(unsigned int ns); |
| extern void __udelay(unsigned int us); |
| #define ndelay(ns) __ndelay(ns) |
| #define udelay(us) __udelay(us) |
| /* make sure "usecs *= ..." in udelay do not overflow. */ |
| #define MAX_UDELAY_MS (1000 / HZ) |
| #endif /* _ASM_DELAY_H */ |