WIP FPC-III support
[linux/fpc-iii.git] / arch / openrisc / include / asm / time.h
blob313ee975774bb12d29b0538012f3872280ae8db0
1 /*
2 * OpenRISC timer API
4 * Copyright (C) 2017 by Stafford Horne (shorne@gmail.com)
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details.
9 */
10 #ifndef __ASM_OR1K_TIME_H
11 #define __ASM_OR1K_TIME_H
13 extern void openrisc_clockevent_init(void);
15 extern void openrisc_timer_set(unsigned long count);
16 extern void openrisc_timer_set_next(unsigned long delta);
18 #ifdef CONFIG_SMP
19 extern void synchronise_count_master(int cpu);
20 extern void synchronise_count_slave(int cpu);
21 #endif
23 #endif /* __ASM_OR1K_TIME_H */