OSDN Git Service

x86/mrst: Fix apb timer rating when lapic timer is used
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Thu, 24 Feb 2011 00:07:26 +0000 (16:07 -0800)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Mon, 28 Feb 2011 08:17:00 +0000 (17:17 +0900)
commitaa5fd89876cd1b8e9cdfcdba1c50f9819dfa43e1
tree6910ce8b4636a64169f90bc7528a454569b8bb9c
parent75b8703e70ebe8b2df9cfd6b3c7dd7cb3691b076
x86/mrst: Fix apb timer rating when lapic timer is used

Need to adjust the clockevent device rating for the structure
that will be registered with clockevent system instead of the
temporary structure.

Without this fix, APB timer rating will be higher than LAPIC
timer such that it can not be released later to be used as the
broadcast timer.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
LKML-Reference: <1298506046-439-1-git-send-email-jacob.jun.pan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apb_timer.c