diff options
author | 2015-12-09 11:57:10 -0800 | |
---|---|---|
committer | 2015-12-09 11:57:10 -0800 | |
commit | 9a0f76fde9ad2c00c0cf13aaf3dfb9d886dc578c (patch) | |
tree | d882bec77d2a18912352ce3647166c7f9464d025 | |
parent | bitops.h: correctly handle rol32 with 0 byte shift (diff) | |
parent | ipmi: move timer init to before irq is setup (diff) | |
download | linux-rng-9a0f76fde9ad2c00c0cf13aaf3dfb9d886dc578c.tar.xz linux-rng-9a0f76fde9ad2c00c0cf13aaf3dfb9d886dc578c.zip |
Merge tag 'for-linus-4.4-1' of git://git.code.sf.net/p/openipmi/linux-ipmi
Pull IPMI fix from Corey Minyard:
"Fix an Oops if an interrupt occurs at startup. This can happen on
some hardware"
* tag 'for-linus-4.4-1' of git://git.code.sf.net/p/openipmi/linux-ipmi:
ipmi: move timer init to before irq is setup
Diffstat (limited to '')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 55fe9020459f..4cc72fa017c7 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c @@ -1230,14 +1230,14 @@ static int smi_start_processing(void *send_info, new_smi->intf = intf; - /* Try to claim any interrupts. */ - if (new_smi->irq_setup) - new_smi->irq_setup(new_smi); - /* Set up the timer that drives the interface. */ setup_timer(&new_smi->si_timer, smi_timeout, (long)new_smi); smi_mod_timer(new_smi, jiffies + SI_TIMEOUT_JIFFIES); + /* Try to claim any interrupts. */ + if (new_smi->irq_setup) + new_smi->irq_setup(new_smi); + /* * Check if the user forcefully enabled the daemon. */ |