When CONFIG_PM is enabled, it uses the TOY_MATCH2 interrupt as the system
authorPete Popov <ppopov@embeddedalley.com>
Sun, 13 Mar 2005 08:19:05 +0000 (08:19 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:30:56 +0000 (19:30 +0100)
commita3701ca48763bbc681ee8db3d203827975849185
tree9677ce80fb2dd3db49394665ddd1ca4f3bf8f2d5
parent90a67b5909ed39425fd2402b2b4c46ef1372b300
When CONFIG_PM is enabled, it uses the TOY_MATCH2 interrupt as the system
timer tick. Prior to this patch, if IDE IRQ probing occured, then the
TOY_MATCH2 interrupt would be permanently disabled, and no system timer
tick occurs. This patch corrects this situation by correctly registering
the TOY_MATCH2 interrupt so that IDE IRQ probing doesn't have adverse
side effects.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/irq.c
arch/mips/au1000/common/time.c