2 * linux/include/asm-arm/mach/time.h
4 * Copyright (C) 2004 MontaVista Software, Inc.
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.
10 #ifndef __ASM_ARM_MACH_TIME_H
11 #define __ASM_ARM_MACH_TIME_H
13 extern void (*init_arch_time
)(void);
15 extern int (*set_rtc
)(void);
16 extern unsigned long (*gettimeoffset
)(void);
18 extern void timer_tick(struct pt_regs
*);
20 extern void save_time_delta(struct timespec
*delta
, struct timespec
*rtc
);
21 extern void restore_time_delta(struct timespec
*delta
, struct timespec
*rtc
);