SFI tables reside in RAM and should not be modified once they are written.
authorAlan Cox <alan@linux.intel.com>
Thu, 6 Oct 2011 15:17:36 +0000 (16:17 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 21:17:29 +0000 (13:17 -0800)
commit186e531cf5934b08a38646cb59fefc64fab56042
treefc58fff2862a8a7ab74eab4a94bb900d0bf92dbd
parent969163968945ca0b5a767eb97591463b22c9d22e
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.

To fix this we use temporary variable for irq number.

Change-Id: I3305eb07e9559f8c37364a0a4cfbd1e79a09bc45
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
arch/x86/platform/mrst/mrst.c