]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/sparc/include/asm/timer_64.h
Merge remote-tracking branches 'asoc/topic/omap', 'asoc/topic/oom' and 'asoc/topic...
[mirror_ubuntu-artful-kernel.git] / arch / sparc / include / asm / timer_64.h
CommitLineData
f5e706ad
SR
1/* timer.h: System timer definitions for sun5.
2 *
3 * Copyright (C) 1997, 2008 David S. Miller (davem@davemloft.net)
4 */
5
6#ifndef _SPARC64_TIMER_H
7#define _SPARC64_TIMER_H
8
9#include <linux/types.h>
10#include <linux/init.h>
11
12struct sparc64_tick_ops {
90181136 13 unsigned long long (*get_tick)(void);
f5e706ad
SR
14 int (*add_compare)(unsigned long);
15 unsigned long softint_mask;
16 void (*disable_irq)(void);
17
18 void (*init_tick)(void);
19 unsigned long (*add_tick)(unsigned long);
20
21 char *name;
22};
23
24extern struct sparc64_tick_ops *tick_ops;
25
f05a6865
SR
26unsigned long sparc64_get_clock_tick(unsigned int cpu);
27void setup_sparc64_timer(void);
28void __init time_init(void);
f5e706ad
SR
29
30#endif /* _SPARC64_TIMER_H */