Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

m68knommu: remove unused machdep variable definitions

Remove old definitions of the timer function pointers.
Add definitions of the common hardware timer functions.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Greg Ungerer and committed by
Linus Torvalds
ee5a2402 ee8c8ada

+7 -4
+7 -4
include/asm-m68knommu/machdep.h
··· 3 3 4 4 #include <linux/interrupt.h> 5 5 6 - extern void (*mach_sched_init) (irq_handler_t handler); 7 - /* machine dependent timer functions */ 8 - extern unsigned long (*mach_gettimeoffset)(void); 6 + /* Hardware clock functions */ 7 + extern void hw_timer_init(void); 8 + extern unsigned long hw_timer_offset(void); 9 + 10 + extern irqreturn_t arch_timer_interrupt(int irq, void *dummy); 11 + 12 + /* Machine dependent time handling */ 9 13 extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour, 10 14 int *min, int *sec); 11 15 extern int (*mach_set_clock_mmss)(unsigned long); ··· 20 16 extern void (*mach_power_off)( void ); 21 17 22 18 extern void config_BSP(char *command, int len); 23 - extern void (*mach_tick)(void); 24 19 25 20 #endif /* _M68KNOMMU_MACHDEP_H */