Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 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 | |
| 11 | #include <asm/system.h> /* For SUN4M_NCPUS */ |
Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 12 | #include <asm/btfixup.h> |
| 13 | |
Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 14 | extern __volatile__ unsigned int *master_l10_counter; |
Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 15 | |
| 16 | /* FIXME: Make do_[gs]ettimeofday btfixup calls */ |
| 17 | BTFIXUPDEF_CALL(int, bus_do_settimeofday, struct timespec *tv) |
| 18 | #define bus_do_settimeofday(tv) BTFIXUP_CALL(bus_do_settimeofday)(tv) |
| 19 | |
| 20 | #endif /* !(_SPARC_TIMER_H) */ |