commit | b170bad40dab1a1684d629b37cb65a5281d35bd8 | [log] [tgz] |
---|---|---|
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | Tue Apr 16 14:17:15 2013 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed Apr 17 14:07:38 2013 +0200 |
tree | 40f24811118d28edda9a99b40599f59913f01615 | |
parent | f0bacb7fc4f7defb15a6575d92f8ea4342f8f09e [diff] |
s390/pci: do not read data after failed load If a pci load instruction fails the content of the register where the data is stored is possibly unchanged. Fix the inline assembly wrapper __pcilg to not return stale data. Additionally fix the callers of this function who access uninitialized variables. Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>