diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2011-10-13 12:04:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-21 14:31:21 -0800 |
commit | 54e6e8d507358facee8b7f5dca27231914676fd8 (patch) | |
tree | 4f3d1a345ca81cbccd1f78db8ed6b2b51590410a /drivers/net/wireless | |
parent | 03ff90c0f9c9ea4ab0840ac21a393da859784d4d (diff) |
x86, mrst: use a temporary variable for SFI irq
commit 153b19a3b9fd8b9478495b9ee1f93f6a77c564f9 upstream.
SFI tables reside in RAM and should not be modified once they are
written. Current code went to set pentry->irq to zero which causes
subsequent reads to fail with invalid SFI table checksum. This will
break kexec as the second kernel fails to validate SFI tables.
To fix this we use temporary variable for irq number.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/wireless')
0 files changed, 0 insertions, 0 deletions