| .. | .. |
|---|
| 29 | 29 | |
|---|
| 30 | 30 | #include <asm/io.h> |
|---|
| 31 | 31 | #include <asm/bootinfo.h> |
|---|
| 32 | | -#include <asm/pgtable.h> |
|---|
| 33 | 32 | #include <asm/setup.h> |
|---|
| 34 | 33 | #include <asm/irq.h> |
|---|
| 35 | 34 | #include <asm/traps.h> |
|---|
| .. | .. |
|---|
| 40 | 39 | static void q40_get_model(char *model); |
|---|
| 41 | 40 | extern void q40_sched_init(irq_handler_t handler); |
|---|
| 42 | 41 | |
|---|
| 43 | | -static u32 q40_gettimeoffset(void); |
|---|
| 44 | 42 | static int q40_hwclk(int, struct rtc_time *); |
|---|
| 45 | 43 | static unsigned int q40_get_ss(void); |
|---|
| 46 | 44 | static int q40_get_rtc_pll(struct rtc_pll_info *pll); |
|---|
| .. | .. |
|---|
| 169 | 167 | mach_sched_init = q40_sched_init; |
|---|
| 170 | 168 | |
|---|
| 171 | 169 | mach_init_IRQ = q40_init_IRQ; |
|---|
| 172 | | - arch_gettimeoffset = q40_gettimeoffset; |
|---|
| 173 | 170 | mach_hwclk = q40_hwclk; |
|---|
| 174 | 171 | mach_get_ss = q40_get_ss; |
|---|
| 175 | 172 | mach_get_rtc_pll = q40_get_rtc_pll; |
|---|
| .. | .. |
|---|
| 200 | 197 | { |
|---|
| 201 | 198 | return 1; |
|---|
| 202 | 199 | } |
|---|
| 203 | | - |
|---|
| 204 | | - |
|---|
| 205 | | -static u32 q40_gettimeoffset(void) |
|---|
| 206 | | -{ |
|---|
| 207 | | - return 5000 * (ql_ticks != 0) * 1000; |
|---|
| 208 | | -} |
|---|
| 209 | | - |
|---|
| 210 | 200 | |
|---|
| 211 | 201 | /* |
|---|
| 212 | 202 | * Looks like op is non-zero for setting the clock, and zero for |
|---|