diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2008-01-22 23:30:16 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-22 23:30:16 +0100 |
commit | 667984d9e481e43a930a478c588dced98cb61fea (patch) | |
tree | 46d16e4d45ebdaca7b01c593bd19d049776568d9 /include/asm-h8300/kdebug.h | |
parent | 889c94a14e38e749c8060f597ee7825ea0764229 (diff) |
x86: GEODE fix a race condition in the MFGPT timer tick
When we set the MFGPT timer tick, there is a chance that we'll
immediately assert an event. If for some reason the IRQ routing
for this clock has been setup for some other purpose, then we
could end up firing an interrupt into the SMM handler or worse.
This rearranges the timer tick init function to initalize the handler
before we set up the MFGPT clock to make sure that even if we get
an event, it will go to the handler.
Furthermore, in the handler we need to make sure that we clear the
event, even if the timer isn't running.
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Tested-by: Arnd Hannemann <hannemann@i4.informatik.rwth-aachen.de>
Diffstat (limited to 'include/asm-h8300/kdebug.h')
0 files changed, 0 insertions, 0 deletions