x86: re-add reboot fixups
[wrt350n-kernel.git] / include / asm-m68knommu / machdep.h
blobde9f47a51cc215e04d19f1a40fb413045d9d572b
1 #ifndef _M68KNOMMU_MACHDEP_H
2 #define _M68KNOMMU_MACHDEP_H
4 #include <linux/interrupt.h>
6 /* Hardware clock functions */
7 extern void hw_timer_init(void);
8 extern unsigned long hw_timer_offset(void);
10 extern irqreturn_t arch_timer_interrupt(int irq, void *dummy);
12 /* Machine dependent time handling */
13 extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
14 int *min, int *sec);
15 extern int (*mach_set_clock_mmss)(unsigned long);
17 /* machine dependent power off functions */
18 extern void (*mach_reset)( void );
19 extern void (*mach_halt)( void );
20 extern void (*mach_power_off)( void );
22 extern void config_BSP(char *command, int len);
24 extern void do_IRQ(int irq, struct pt_regs *fp);
26 #endif /* _M68KNOMMU_MACHDEP_H */