Merge tag 'omap-dt-for-v3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind...
[linux-2.6-block.git] / arch / sparc / include / asm / timer_32.h
CommitLineData
f5e706ad
SR
1/*
2 * timer.h: Definitions for the timer chips on the Sparc.
3 *
4 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
5 */
6
7
8#ifndef _SPARC_TIMER_H
9#define _SPARC_TIMER_H
10
d550bbd4 11#include <asm/cpu_type.h> /* For SUN4M_NCPUS */
f5e706ad
SR
12#include <asm/btfixup.h>
13
f5e706ad 14extern __volatile__ unsigned int *master_l10_counter;
f5e706ad
SR
15
16/* FIXME: Make do_[gs]ettimeofday btfixup calls */
d550bbd4 17struct timespec;
f5e706ad
SR
18BTFIXUPDEF_CALL(int, bus_do_settimeofday, struct timespec *tv)
19#define bus_do_settimeofday(tv) BTFIXUP_CALL(bus_do_settimeofday)(tv)
20
21#endif /* !(_SPARC_TIMER_H) */