[ARM] 5444/1: ARM: Realview: Fix event-device multiplicators in localtimer.c
commit9d681f3a1b27fdfc17ea251cf8d5f627dab34670
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Thu, 2 Apr 2009 14:28:58 +0000 (2 15:28 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 2 Apr 2009 14:53:17 +0000 (2 15:53 +0100)
treefb5e655ae0a2c74f8db9e7a6d00f76e428f1ee70
parent91c39dcb7365ed1ff34ee9b3541304da5c942696
[ARM] 5444/1: ARM: Realview: Fix event-device multiplicators in localtimer.c

Set the "mult" to finite value in the local_timer_setup in case
of CONFIG_LOCAL_TIMERS not enabled. Othewise this throws warning
in the boot log because of detect zero event-device multiplicators.
This can cause division-by-zero crashes.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-realview/localtimer.c