diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-06-08 18:58:09 +0200 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-06-08 18:58:23 +0200 |
commit | c2f0e8c803ceba530060ec9bb9c74a06c2c3d833 (patch) | |
tree | 96ca1f44045c313c3c05d07df1bd9df2e6861554 /drivers/s390/cio | |
parent | 3975d16760d4be7402d1067c548c30c427971331 (diff) | |
download | linux-c2f0e8c803ceba530060ec9bb9c74a06c2c3d833.tar.bz2 |
[S390] appldata/extmem/kvm: add missing GFP_KERNEL flag
Add missing GFP flag to memory allocations. The part in cio only
changes a comment.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio')
-rw-r--r-- | drivers/s390/cio/itcw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/itcw.c b/drivers/s390/cio/itcw.c index 17da9ab932ed..a0ae29564774 100644 --- a/drivers/s390/cio/itcw.c +++ b/drivers/s390/cio/itcw.c @@ -42,7 +42,7 @@ * size_t size; * * size = itcw_calc_size(1, 2, 0); - * buffer = kmalloc(size, GFP_DMA); + * buffer = kmalloc(size, GFP_KERNEL | GFP_DMA); * if (!buffer) * return -ENOMEM; * itcw = itcw_init(buffer, size, ITCW_OP_READ, 1, 2, 0); |