RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / sparc / include / asm / timer_32.h
blobd1e251a675c404cbdcd4e42510b79dd2854bc856
1 /*
2 * timer.h: Definitions for the timer chips on the Sparc.
4 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
5 */
8 #ifndef _SPARC_TIMER_H
9 #define _SPARC_TIMER_H
11 #include <asm/system.h> /* For SUN4M_NCPUS */
12 #include <asm/btfixup.h>
14 extern __volatile__ unsigned int *master_l10_counter;
16 BTFIXUPDEF_CALL(int, bus_do_settimeofday, struct timespec *tv)
17 #define bus_do_settimeofday(tv) BTFIXUP_CALL(bus_do_settimeofday)(tv)
19 #endif /* !(_SPARC_TIMER_H) */