Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 48778464bb7d346b47157d21ffde2af6b2d39110 authored by Linus Torvalds on 21 June 2020, 22:45:29 UTC
Linux 5.8-rc2
Tip revision: 4877846
delay.h
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2009 Chen Liqin <liqin.chen@sunplusct.com>
 * Copyright (C) 2016 Regents of the University of California
 */

#ifndef _ASM_RISCV_DELAY_H
#define _ASM_RISCV_DELAY_H

extern unsigned long riscv_timebase;

#define udelay udelay
extern void udelay(unsigned long usecs);

#define ndelay ndelay
extern void ndelay(unsigned long nsecs);

extern void __delay(unsigned long cycles);

#endif /* _ASM_RISCV_DELAY_H */
back to top