]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86, mrst: Fix APB timer per cpu clockevent
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Wed, 3 Mar 2010 05:01:34 +0000 (21:01 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 3 Mar 2010 20:04:59 +0000 (12:04 -0800)
commit3010673ef5f7bef4b4685566a0713de1b4306c93
tree227355682ffcb82f3286e17826ffbc97e67fc36c
parentd8111cd91abee016d62b401e057fee66ba80be67
x86, mrst: Fix APB timer per cpu clockevent

The current APB timer code incorrectly registers a static copy of the
clockevent device for the boot CPU. The per cpu clockevent should be
used instead.

This bug was hidden by zero-initialized data; as such it did not get
exposed in testing, but was discovered by code review.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
LKML-Reference: <1267592494-7723-1-git-send-email-jacob.jun.pan@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/apb_timer.c