s390/appldata_mem: do not use static data
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 25 Jun 2013 13:36:12 +0000 (15:36 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Jun 2013 19:10:30 +0000 (21:10 +0200)
commita94f0fb1a256455489d475f21c1f902a9280bf9a
tree69cd52c8a51ad5bff511ac12727d2b07bc76cd1f
parent739737efb57d74c71355c56cf5538048c9510507
s390/appldata_mem: 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.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/appldata/appldata_mem.c