|
@@ -492,7 +492,7 @@ static inline int i2o_dma_map_sg(struct i2o_controller *c,
|
|
|
* Returns 0 on success or -ENOMEM on failure.
|
|
|
*/
|
|
|
static inline int i2o_dma_alloc(struct device *dev, struct i2o_dma *addr,
|
|
|
- size_t len, unsigned int gfp_mask)
|
|
|
+ size_t len, gfp_t gfp_mask)
|
|
|
{
|
|
|
struct pci_dev *pdev = to_pci_dev(dev);
|
|
|
int dma_64 = 0;
|
|
@@ -551,7 +551,7 @@ static inline void i2o_dma_free(struct device *dev, struct i2o_dma *addr)
|
|
|
* Returns the 0 on success or negative error code on failure.
|
|
|
*/
|
|
|
static inline int i2o_dma_realloc(struct device *dev, struct i2o_dma *addr,
|
|
|
- size_t len, unsigned int gfp_mask)
|
|
|
+ size_t len, gfp_t gfp_mask)
|
|
|
{
|
|
|
i2o_dma_free(dev, addr);
|
|
|
|