time.c (22a3e233ca08a2ddc949ba1ae8f6e16ec7ef1a13) | time.c (f40298fddcc3c8115c6135c9733f5a0de52dcea9) |
---|---|
1/* 2 * Copyright 2001 MontaVista Software Inc. 3 * Author: Jun Sun, jsun@mvista.com or jsun@junsun.net 4 * Copyright (c) 2003, 2004 Maciej W. Rozycki 5 * 6 * Common time service routines for MIPS machines. See 7 * Documentation/mips/time.README. 8 * --- 565 unchanged lines hidden (view full) --- 574 575void (*board_time_init)(void); 576void (*board_timer_setup)(struct irqaction *irq); 577 578unsigned int mips_hpt_frequency; 579 580static struct irqaction timer_irqaction = { 581 .handler = timer_interrupt, | 1/* 2 * Copyright 2001 MontaVista Software Inc. 3 * Author: Jun Sun, jsun@mvista.com or jsun@junsun.net 4 * Copyright (c) 2003, 2004 Maciej W. Rozycki 5 * 6 * Common time service routines for MIPS machines. See 7 * Documentation/mips/time.README. 8 * --- 565 unchanged lines hidden (view full) --- 574 575void (*board_time_init)(void); 576void (*board_timer_setup)(struct irqaction *irq); 577 578unsigned int mips_hpt_frequency; 579 580static struct irqaction timer_irqaction = { 581 .handler = timer_interrupt, |
582 .flags = SA_INTERRUPT, | 582 .flags = IRQF_DISABLED, |
583 .name = "timer", 584}; 585 586static unsigned int __init calibrate_hpt(void) 587{ 588 u64 frequency; 589 u32 hpt_start, hpt_end, hpt_count, hz; 590 --- 189 unchanged lines hidden --- | 583 .name = "timer", 584}; 585 586static unsigned int __init calibrate_hpt(void) 587{ 588 u64 frequency; 589 u32 hpt_start, hpt_end, hpt_count, hz; 590 --- 189 unchanged lines hidden --- |