aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStefan Haberland <stefan.haberland@de.ibm.com>2008-04-17 01:46:04 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-04-17 01:46:58 -0400
commit00966c0a5b00bc0afdc0bd0446adec271f8b098b (patch)
treec6144b97f0aade3ce04cc2b6db3d5fddb18f789c /drivers
parent35b58b028dfc99dd390a09f66945947c4945fa64 (diff)
[S390] dasd: use GFP_DMA for fba private data allocation
allocating dasd_fba_private without GFP_DMA results in IO error during read device characteristics of a FBA disk Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/s390/block/dasd_fba.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/block/dasd_fba.c b/drivers/s390/block/dasd_fba.c
index d13ea05089a7..116611583df8 100644
--- a/drivers/s390/block/dasd_fba.c
+++ b/drivers/s390/block/dasd_fba.c
@@ -125,7 +125,8 @@ dasd_fba_check_characteristics(struct dasd_device *device)
125 125
126 private = (struct dasd_fba_private *) device->private; 126 private = (struct dasd_fba_private *) device->private;
127 if (private == NULL) { 127 if (private == NULL) {
128 private = kzalloc(sizeof(struct dasd_fba_private), GFP_KERNEL); 128 private = kzalloc(sizeof(struct dasd_fba_private),
129 GFP_KERNEL | GFP_DMA);
129 if (private == NULL) { 130 if (private == NULL) {
130 DEV_MESSAGE(KERN_WARNING, device, "%s", 131 DEV_MESSAGE(KERN_WARNING, device, "%s",
131 "memory allocation failed for private " 132 "memory allocation failed for private "