patch-2.4.21 linux-2.4.21/include/asm-sparc64/timer.h

Next file: linux-2.4.21/include/asm-sparc64/timex.h
Previous file: linux-2.4.21/include/asm-sparc64/system.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/asm-sparc64/timer.h linux-2.4.21/include/asm-sparc64/timer.h
@@ -50,6 +50,17 @@
  */
 #define SUN5_HZ_TO_LIMIT(__hz)  (1000000/(__hz))
 
+struct sparc64_tick_ops {
+	void (*init_tick)(unsigned long);
+	unsigned long (*get_tick)(void);
+	unsigned long (*get_compare)(void);
+	unsigned long (*add_tick)(unsigned long, unsigned long);
+	unsigned long (*add_compare)(unsigned long);
+	unsigned long softint_mask;
+};
+
+extern struct sparc64_tick_ops *tick_ops;
+
 #ifdef CONFIG_SMP
 extern unsigned long timer_tick_offset;
 extern void timer_tick_interrupt(struct pt_regs *);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)