| .. | .. |
|---|
| 15 | 15 | #include <linux/tty.h> |
|---|
| 16 | 16 | #include <linux/console.h> |
|---|
| 17 | 17 | #include <linux/init.h> |
|---|
| 18 | | -#include <linux/bootmem.h> |
|---|
| 18 | +#include <linux/memblock.h> |
|---|
| 19 | 19 | #include <linux/platform_device.h> |
|---|
| 20 | 20 | |
|---|
| 21 | 21 | #include <asm/oplib.h> |
|---|
| 22 | 22 | #include <asm/setup.h> |
|---|
| 23 | 23 | #include <asm/contregs.h> |
|---|
| 24 | 24 | #include <asm/movs.h> |
|---|
| 25 | | -#include <asm/pgtable.h> |
|---|
| 26 | 25 | #include <asm/pgalloc.h> |
|---|
| 27 | 26 | #include <asm/sun3-head.h> |
|---|
| 28 | 27 | #include <asm/sun3mmu.h> |
|---|
| .. | .. |
|---|
| 37 | 36 | |
|---|
| 38 | 37 | char sun3_reserved_pmeg[SUN3_PMEGS_NUM]; |
|---|
| 39 | 38 | |
|---|
| 40 | | -extern u32 sun3_gettimeoffset(void); |
|---|
| 41 | 39 | static void sun3_sched_init(irq_handler_t handler); |
|---|
| 42 | 40 | extern void sun3_get_model (char* model); |
|---|
| 43 | 41 | extern int sun3_hwclk(int set, struct rtc_time *t); |
|---|
| .. | .. |
|---|
| 138 | 136 | mach_sched_init = sun3_sched_init; |
|---|
| 139 | 137 | mach_init_IRQ = sun3_init_IRQ; |
|---|
| 140 | 138 | mach_reset = sun3_reboot; |
|---|
| 141 | | - arch_gettimeoffset = sun3_gettimeoffset; |
|---|
| 142 | 139 | mach_get_model = sun3_get_model; |
|---|
| 143 | 140 | mach_hwclk = sun3_hwclk; |
|---|
| 144 | 141 | mach_halt = sun3_halt; |
|---|