xref: /openbmc/linux/arch/arm/include/asm/mach/time.h (revision e8f6f3b4)
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 struct timespec;
16 typedef void (*clock_access_fn)(struct timespec *);
17 extern int register_persistent_clock(clock_access_fn read_boot,
18 				     clock_access_fn read_persistent);
19 
20 #endif
21