On Jan 21, 2005, at 9:49 AM, Clem Taylor wrote:
I was looking at the TOY (time of year stuff) in arch/mips/au1000/common/time.c and noticed that it depends on CONFIG_PM,
Well .... not exactly :-)
When you use the power management of the Au1xxx to enter lower power modes, the CP0 counter stops as well. We use the TOY clock to keep track of system time and kernel timer interrupts if this configuration option is selected.
The kernel timer code assumes it has access to the TOY when CONFIG_PM is enabled. If you intend to use TOY for something else, make sure you don't cause trouble for the kernel timer functions.
Thanks.
-- Dan