diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2011-10-13 12:04:20 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-14 16:53:27 +1200 |
commit | 153b19a3b9fd8b9478495b9ee1f93f6a77c564f9 (patch) | |
tree | 6798944f18da663b61557abef13a75d0126afa60 /fs/proc/consoles.c | |
parent | 37cf95162af4036b4198756a590aab8126fa2ce4 (diff) |
x86, mrst: use a temporary variable for SFI irq
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>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/consoles.c')
0 files changed, 0 insertions, 0 deletions