How to define CLOCK_TICK_RATE in linux kernel 2.6.xx?

From
Eric Miao <hidden>
Date
2010-08-24 10:08:58
Reply to
David Yang, 2010-08-24
On Tue, Aug 24, 2010 at 5:20 PM, David Yang [off-list ref] wrote:
Hello all,

We have recently started to port linux 2.6.33 to a arm machine which be
cortex-a9 mpcore, and we found that need define CLOCK_TICK_RATE
(arch/arm/mach_xxx/include/mach/timex.h) to a value.
It's obsoleted. Give it a fake value and go.
Now our arm machine have two timer, first is external general timer
which clock is 66.666666MHz, second is cortex-a9's private timer which
clock is 400MHz or 800Hz.
The tick rate used by your OS timer is probably a good fake value.
If our linux system support smp, we should how define CLOCK_TICK_RATE?
If our linux system don't support smp, we should how define
CLOCK_TICK_RATE?
It's basically not related to SMP.
BTW, In kernel 2.6.x, CLOCK_TICK_RATE means ?
Thank for any help
It was historically related to many things, including HZ, yet obsoleted
along with the introduction of clockevent/clocksource framework.
David

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (4 messages) 4 messages, 3 authors, last reply 2010-08-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help