diff options
author | Christian Borntraeger <cborntra@de.ibm.com> | 2007-02-05 21:16:54 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-02-05 21:16:54 +0100 |
commit | bda3563fb28e3a4260ac3566cf11700792a336bb (patch) | |
tree | fd64e35a8ce5dd26b84c10ae4397b9967a1befcf /net | |
parent | 60383201c2c155fae2aaffd483d09eb4198b6356 (diff) |
[S390] cpcmd with vmalloc addresses.
Change the bounce buffer logic of cpcmd. diag8 needs _real_ memory below
2GB. Therefore vmalloced data does not work. As the data might cross a
page boundary, we cannot use virt_to_page either. The solution is to use
virt_to_page only in the check for a bounce buffer.
There was a redundant check for response==NULL. response < 2GB contains
this check as well.
I also removed the rlen==0 check, since rlen=0 and response!=NULL would
be a caller bug and response==NULL is already checked.
Signed-off-by: Christian Borntraeger <cborntra@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions