Skip to content

Commit

Permalink
remove magic number
Browse files Browse the repository at this point in the history
Impact: code style

TIMER_IRQ is zero, so this does not change any behaviour of the
kernel.
  • Loading branch information
luciang committed Jun 9, 2009
1 parent 699d20c commit dbcfa36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/lkl/kernel/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void __init time_init(void)
BUG_ON(!lkl_nops->timer || !lkl_nops->time);

clockevent.cpumask = cpumask_of(0);
setup_irq(0, &irq0);
setup_irq(TIMER_IRQ, &irq0);

BUG_ON(clocksource_register(&clocksource) != 0);

Expand Down

0 comments on commit dbcfa36

Please sign in to comment.