LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [M68KNOMMU]: remove unused machdep variable definitions
@ 2007-10-24 2:04 Greg Ungerer
0 siblings, 0 replies; only message in thread
From: Greg Ungerer @ 2007-10-24 2:04 UTC (permalink / raw)
To: torvalds; +Cc: gerg, linux-kernel
Remove old definitions of the timer function pointers.
Add definitions of the common hardware timer functions.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
---
diff -Naurp linux-2.6.23/include/asm-m68knommu/machdep.h linux-2.6.23-uc0/include/asm-m68knommu/machdep.h
--- linux-2.6.23/include/asm-m68knommu/machdep.h 2007-10-19 10:21:31.000000000 +1000
+++ linux-2.6.23-uc0/include/asm-m68knommu/machdep.h 2007-10-19 10:32:28.000000000 +1000
@@ -3,9 +3,13 @@
#include <linux/interrupt.h>
-extern void (*mach_sched_init) (irq_handler_t handler);
-/* machine dependent timer functions */
-extern unsigned long (*mach_gettimeoffset)(void);
+/* Hardware clock functions */
+extern void hw_timer_init(void);
+extern unsigned long hw_timer_offset(void);
+
+extern irqreturn_t arch_timer_interrupt(int irq, void *dummy);
+
+/* Machine dependent time handling */
extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
int *min, int *sec);
extern int (*mach_set_clock_mmss)(unsigned long);
@@ -16,6 +20,5 @@ extern void (*mach_halt)( void );
extern void (*mach_power_off)( void );
extern void config_BSP(char *command, int len);
-extern void (*mach_tick)(void);
#endif /* _M68KNOMMU_MACHDEP_H */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-24 2:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-24 2:04 [M68KNOMMU]: remove unused machdep variable definitions Greg Ungerer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).