aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2o.h
diff options
context:
space:
mode:
authorGreg KH <greg@press.(none)>2005-10-28 13:13:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 13:13:16 -0400
commit6fbfddcb52d8d9fa2cd209f5ac2a1c87497d55b5 (patch)
treec0414e89678fcef7ce3493e048d855bde781ae8d /include/linux/i2o.h
parent1a222bca26ca691e83be1b08f5e96ae96d0d8cae (diff)
parent27d1097d39509494706eaa2620ef3b1e780a3224 (diff)
Merge ../bleed-2.6
Diffstat (limited to 'include/linux/i2o.h')
-rw-r--r--include/linux/i2o.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/i2o.h b/include/linux/i2o.h
index 84db8f6ae7e5..92300325dbcd 100644
--- a/include/linux/i2o.h
+++ b/include/linux/i2o.h
@@ -490,7 +490,7 @@ static inline int i2o_dma_map_sg(struct i2o_controller *c,
490 * Returns 0 on success or -ENOMEM on failure. 490 * Returns 0 on success or -ENOMEM on failure.
491 */ 491 */
492static inline int i2o_dma_alloc(struct device *dev, struct i2o_dma *addr, 492static inline int i2o_dma_alloc(struct device *dev, struct i2o_dma *addr,
493 size_t len, unsigned int gfp_mask) 493 size_t len, gfp_t gfp_mask)
494{ 494{
495 struct pci_dev *pdev = to_pci_dev(dev); 495 struct pci_dev *pdev = to_pci_dev(dev);
496 int dma_64 = 0; 496 int dma_64 = 0;
@@ -549,7 +549,7 @@ static inline void i2o_dma_free(struct device *dev, struct i2o_dma *addr)
549 * Returns the 0 on success or negative error code on failure. 549 * Returns the 0 on success or negative error code on failure.
550 */ 550 */
551static inline int i2o_dma_realloc(struct device *dev, struct i2o_dma *addr, 551static inline int i2o_dma_realloc(struct device *dev, struct i2o_dma *addr,
552 size_t len, unsigned int gfp_mask) 552 size_t len, gfp_t gfp_mask)
553{ 553{
554 i2o_dma_free(dev, addr); 554 i2o_dma_free(dev, addr);
555 555