aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cmdline.c
diff options
context:
space:
mode:
authorChristian Borntraeger <cborntra@de.ibm.com>2007-02-05 15:16:54 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-02-05 15:16:54 -0500
commitbda3563fb28e3a4260ac3566cf11700792a336bb (patch)
treefd64e35a8ce5dd26b84c10ae4397b9967a1befcf /lib/cmdline.c
parent60383201c2c155fae2aaffd483d09eb4198b6356 (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 'lib/cmdline.c')
0 files changed, 0 insertions, 0 deletions