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