]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/asm-sparc64/timer.h
Merge branch 'master' of hera.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6
[mirror_ubuntu-bionic-kernel.git] / include / asm-sparc64 / timer.h
1 /* $Id: timer.h,v 1.3 2000/05/09 17:40:15 davem Exp $
2 * timer.h: System timer definitions for sun5.
3 *
4 * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu)
5 */
6
7 #ifndef _SPARC64_TIMER_H
8 #define _SPARC64_TIMER_H
9
10 #include <linux/types.h>
11
12
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);
18
19 void (*init_tick)(void);
20 unsigned long (*add_tick)(unsigned long);
21
22 char *name;
23 };
24
25 extern struct sparc64_tick_ops *tick_ops;
26
27 extern unsigned long sparc64_get_clock_tick(unsigned int cpu);
28
29 #endif /* _SPARC64_TIMER_H */