]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/message/i2o/exec-osm.c
i2o: Fix 32/64bit DMA locking
[linux-2.6-omap-h63xx.git] / drivers / message / i2o / exec-osm.c
index 6cbcc21de5182b2ce3e4087e3a022654eb7cb606..56faef1a1d55a3412d852ab9b56a805d0651627a 100644 (file)
@@ -388,8 +388,8 @@ static int i2o_exec_lct_notify(struct i2o_controller *c, u32 change_ind)
 
        dev = &c->pdev->dev;
 
-       if (i2o_dma_realloc
-           (dev, &c->dlct, le32_to_cpu(sb->expected_lct_size), GFP_KERNEL))
+       if (i2o_dma_realloc(dev, &c->dlct,
+                                       le32_to_cpu(sb->expected_lct_size)))
                return -ENOMEM;
 
        msg = i2o_msg_get_wait(c, I2O_TIMEOUT_MESSAGE_GET);