NFS: Set meaningful value for fattr->time_start in readdirplus results.
[wrt350n-kernel.git] / include / asm-sparc64 / timer.h
blobccbd69448866f72cbc6daf331dc0953c8e09f575
1 /* $Id: timer.h,v 1.3 2000/05/09 17:40:15 davem Exp $
2 * timer.h: System timer definitions for sun5.
4 * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu)
5 */
7 #ifndef _SPARC64_TIMER_H
8 #define _SPARC64_TIMER_H
10 #include <linux/types.h>
13 struct sparc64_tick_ops {
14 unsigned long (*get_tick)(void);
15 int (*add_compare)(unsigned long);
16 unsigned long softint_mask;
17 void (*disable_irq)(void);
19 void (*init_tick)(void);
20 unsigned long (*add_tick)(unsigned long);
22 char *name;
25 extern struct sparc64_tick_ops *tick_ops;
27 extern unsigned long sparc64_get_clock_tick(unsigned int cpu);
29 #endif /* _SPARC64_TIMER_H */