| .. | .. |
|---|
| 13 | 13 | #include <asm/bootinfo.h> |
|---|
| 14 | 14 | #include <asm/bootinfo-apollo.h> |
|---|
| 15 | 15 | #include <asm/byteorder.h> |
|---|
| 16 | | -#include <asm/pgtable.h> |
|---|
| 17 | 16 | #include <asm/apollohw.h> |
|---|
| 18 | 17 | #include <asm/irq.h> |
|---|
| 19 | 18 | #include <asm/machdep.h> |
|---|
| .. | .. |
|---|
| 29 | 28 | |
|---|
| 30 | 29 | extern void dn_sched_init(irq_handler_t handler); |
|---|
| 31 | 30 | extern void dn_init_IRQ(void); |
|---|
| 32 | | -extern u32 dn_gettimeoffset(void); |
|---|
| 33 | 31 | extern int dn_dummy_hwclk(int, struct rtc_time *); |
|---|
| 34 | 32 | extern void dn_dummy_reset(void); |
|---|
| 35 | 33 | #ifdef CONFIG_HEARTBEAT |
|---|
| .. | .. |
|---|
| 152 | 150 | |
|---|
| 153 | 151 | mach_sched_init=dn_sched_init; /* */ |
|---|
| 154 | 152 | mach_init_IRQ=dn_init_IRQ; |
|---|
| 155 | | - arch_gettimeoffset = dn_gettimeoffset; |
|---|
| 156 | 153 | mach_max_dma_address = 0xffffffff; |
|---|
| 157 | 154 | mach_hwclk = dn_dummy_hwclk; /* */ |
|---|
| 158 | 155 | mach_reset = dn_dummy_reset; /* */ |
|---|
| .. | .. |
|---|
| 203 | 200 | |
|---|
| 204 | 201 | if (request_irq(IRQ_APOLLO, dn_timer_int, 0, "time", timer_routine)) |
|---|
| 205 | 202 | pr_err("Couldn't register timer interrupt\n"); |
|---|
| 206 | | -} |
|---|
| 207 | | - |
|---|
| 208 | | -u32 dn_gettimeoffset(void) |
|---|
| 209 | | -{ |
|---|
| 210 | | - return 0xdeadbeef; |
|---|
| 211 | 203 | } |
|---|
| 212 | 204 | |
|---|
| 213 | 205 | int dn_dummy_hwclk(int op, struct rtc_time *t) { |
|---|