xref: /OK3568_Linux_fs/kernel/arch/nios2/include/asm/delay.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Copyright (C) 2014 Altera Corporation
3*4882a593Smuzhiyun  * Copyright (C) 2004 Microtronix Datacom Ltd
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * This file is subject to the terms and conditions of the GNU General Public
6*4882a593Smuzhiyun  * License.  See the file "COPYING" in the main directory of this archive
7*4882a593Smuzhiyun  * for more details.
8*4882a593Smuzhiyun  */
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun #ifndef _ASM_NIOS2_DELAY_H
11*4882a593Smuzhiyun #define _ASM_NIOS2_DELAY_H
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun #include <asm-generic/delay.h>
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun /* Undefined functions to get compile-time errors */
16*4882a593Smuzhiyun extern void __bad_udelay(void);
17*4882a593Smuzhiyun extern void __bad_ndelay(void);
18*4882a593Smuzhiyun 
19*4882a593Smuzhiyun extern unsigned long loops_per_jiffy;
20*4882a593Smuzhiyun 
21*4882a593Smuzhiyun #endif /* _ASM_NIOS2_DELAY_H */
22