diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-06-25 17:34:54 +0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-06-26 23:10:29 +0400 |
commit | 739737efb57d74c71355c56cf5538048c9510507 (patch) | |
tree | 5544a5954208b33900fa8d8a7692dae520874548 /arch/s390/appldata | |
parent | f4eae94f71372ea5ec1ba17a85f3aebedc516ca8 (diff) | |
download | linux-739737efb57d74c71355c56cf5538048c9510507.tar.xz |
s390/vmwatchdog: do not use static data
Using static data for fields which are accessed by HW will fail if
the driver is build as a module (since this would be vmalloc'ed
memory). This Bug was revealed via
"s390: remove virt_to_phys implementation" - the old virt_to_phys
implementation would have translated the address but it was not
guaranteed that the memory was contiguous.
Fix it by putting the data on the stack.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/appldata')
0 files changed, 0 insertions, 0 deletions