2005-04-17 06:20:36 +08:00
|
|
|
/*
|
2008-08-02 17:55:55 +08:00
|
|
|
* arch/arm/include/asm/mach/time.h
|
2005-04-17 06:20:36 +08:00
|
|
|
*
|
|
|
|
* Copyright (C) 2004 MontaVista Software, Inc.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
#ifndef __ASM_ARM_MACH_TIME_H
|
|
|
|
#define __ASM_ARM_MACH_TIME_H
|
|
|
|
|
2006-10-07 01:53:39 +08:00
|
|
|
extern void timer_tick(void);
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2012-05-06 02:28:44 +08:00
|
|
|
struct timespec;
|
|
|
|
typedef void (*clock_access_fn)(struct timespec *);
|
|
|
|
extern int register_persistent_clock(clock_access_fn read_boot,
|
|
|
|
clock_access_fn read_persistent);
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif
|