diff options
author | Corey Minyard <cminyard@mvista.com> | 2007-10-18 06:07:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:37:32 -0400 |
commit | c45adc39156dfb0a296df218d62ba8b68cadf12e (patch) | |
tree | fd96c4475d246334b7e295e4f482af5d89422dcd /drivers/char/ipmi/ipmi_watchdog.c | |
parent | e8c44319c691dfb4a0b039b095204c040df9b01a (diff) |
IPMI: don't init irq until ready
Patrick found a race at startup. Interrupts were being enabled for the IPMI
interface before the driver was really ready to handle them. This could
result in an oops if something was pending on the interface at startup and
interrupt were already enabled (technically shouldn't happen, but need to
cover for this in real life). So move the IRQ setup to the code that starts
the actual IPMI processing.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Patrick Schoeller <Patrick.Schoeller@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/ipmi/ipmi_watchdog.c')
0 files changed, 0 insertions, 0 deletions