hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/m68k/q40/config.c
....@@ -29,7 +29,6 @@
2929
3030 #include <asm/io.h>
3131 #include <asm/bootinfo.h>
32
-#include <asm/pgtable.h>
3332 #include <asm/setup.h>
3433 #include <asm/irq.h>
3534 #include <asm/traps.h>
....@@ -40,7 +39,6 @@
4039 static void q40_get_model(char *model);
4140 extern void q40_sched_init(irq_handler_t handler);
4241
43
-static u32 q40_gettimeoffset(void);
4442 static int q40_hwclk(int, struct rtc_time *);
4543 static unsigned int q40_get_ss(void);
4644 static int q40_get_rtc_pll(struct rtc_pll_info *pll);
....@@ -169,7 +167,6 @@
169167 mach_sched_init = q40_sched_init;
170168
171169 mach_init_IRQ = q40_init_IRQ;
172
- arch_gettimeoffset = q40_gettimeoffset;
173170 mach_hwclk = q40_hwclk;
174171 mach_get_ss = q40_get_ss;
175172 mach_get_rtc_pll = q40_get_rtc_pll;
....@@ -200,13 +197,6 @@
200197 {
201198 return 1;
202199 }
203
-
204
-
205
-static u32 q40_gettimeoffset(void)
206
-{
207
- return 5000 * (ql_ticks != 0) * 1000;
208
-}
209
-
210200
211201 /*
212202 * Looks like op is non-zero for setting the clock, and zero for