Linux 5.6.13
[linux/fpc-iii.git] / arch / riscv / include / asm / delay.h
blob524f8ef7c88f6c0a2645bcbe30629a00ed73fa37
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2009 Chen Liqin <liqin.chen@sunplusct.com>
4 * Copyright (C) 2016 Regents of the University of California
5 */
7 #ifndef _ASM_RISCV_DELAY_H
8 #define _ASM_RISCV_DELAY_H
10 extern unsigned long riscv_timebase;
12 #define udelay udelay
13 extern void udelay(unsigned long usecs);
15 #define ndelay ndelay
16 extern void ndelay(unsigned long nsecs);
18 extern void __delay(unsigned long cycles);
20 #endif /* _ASM_RISCV_DELAY_H */