ARM: hw/exynos4210_mct.c: Fix a bug which hangs Linux kernel.
commit2e2aafc0f6c0964b736d81cb7b13a2a1a3d8a564
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Wed, 4 Jul 2012 10:43:30 +0000 (4 10:43 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 4 Jul 2012 10:43:30 +0000 (4 10:43 +0000)
tree079dd241ece9c987ac17a2664654af8b4f0d5cb1
parent71ea2e016131a9fcde6f1ffd3e0e34a64c21f593
ARM: hw/exynos4210_mct.c: Fix a bug which hangs Linux kernel.

After some long period of time Linux kernel hanged due to
ptimer_get_count may return 0 before timer interrupt occurs,
thus, causing FRC to jump back in time

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/exynos4210_mct.c