xref: /openbmc/linux/arch/nios2/include/asm/timex.h (revision 981ab3f1)
1 /* Copyright Altera Corporation (C) 2014. All rights reserved.
2  *
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License, version 2,
5  * as published by the Free Software Foundation.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
14  *
15  */
16 
17 #ifndef _ASM_NIOS2_TIMEX_H
18 #define _ASM_NIOS2_TIMEX_H
19 
20 typedef unsigned long cycles_t;
21 
22 extern cycles_t get_cycles(void);
23 
24 #endif
25