xref: /openbmc/linux/arch/arm/include/asm/mach/time.h (revision 82e6fdd6)
1 /*
2  * arch/arm/include/asm/mach/time.h
3  *
4  * Copyright (C) 2004 MontaVista Software, Inc.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 #ifndef __ASM_ARM_MACH_TIME_H
11 #define __ASM_ARM_MACH_TIME_H
12 
13 extern void timer_tick(void);
14 
15 typedef void (*clock_access_fn)(struct timespec64 *);
16 extern int register_persistent_clock(clock_access_fn read_boot,
17 				     clock_access_fn read_persistent);
18 
19 #endif
20