author | Julia Lawall
<julia@diku.dk> 2009-11-30 20:37:25 UTC |
committer | Matt Turner
<mattst88@gmail.com> 2009-11-30 20:37:25 UTC |
parent | a8a8a669ea13d792296737505adc43ccacf3a648 |
arch/alpha/kernel/sys_ruffian.c | +1 | -1 |
diff --git a/arch/alpha/kernel/sys_ruffian.c b/arch/alpha/kernel/sys_ruffian.c index d9f9cfeb993..8de1046fe91 100644 --- a/arch/alpha/kernel/sys_ruffian.c +++ b/arch/alpha/kernel/sys_ruffian.c @@ -66,7 +66,7 @@ ruffian_init_irq(void) common_init_isa_dma(); } -#define RUFFIAN_LATCH ((PIT_TICK_RATE + HZ / 2) / HZ) +#define RUFFIAN_LATCH DIV_ROUND_CLOSEST(PIT_TICK_RATE, HZ) static void __init ruffian_init_rtc(void)