summaryrefslogtreecommitdiffstats
path: root/kernel/arch/nios2/include/asm/delay.h
blob: 098e49bf3aa366ca7c593adc5289f6b9b15f4b2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (C) 2014 Altera Corporation
 * Copyright (C) 2004 Microtronix Datacom Ltd
 *
 * 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
 * for more details.
 */

#ifndef _ASM_NIOS2_DELAY_H
#define _ASM_NIOS2_DELAY_H

#include <asm-generic/delay.h>

/* Undefined functions to get compile-time errors */
extern void __bad_udelay(void);
extern void __bad_ndelay(void);

extern unsigned long loops_per_jiffy;

#endif /* _ASM_NIOS2_DELAY_H */