diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2005-10-21 03:22:34 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-28 11:16:51 -0400 |
| commit | b4e3ca1ab1ae9ae86134126dcdc88da1caaa32ca (patch) | |
| tree | 51c609f9a954cd5d4732c4b512f9ff2e19546d47 /include/linux | |
| parent | 9e24974db6b01ec067c24de09588282b6a1407f0 (diff) | |
[PATCH] gfp_t: remaining bits of drivers/*
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/i2o.h | 4 | ||||
| -rw-r--r-- | include/linux/loop.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/i2o.h b/include/linux/i2o.h index bdc286ec947c..b4af45aad25d 100644 --- a/include/linux/i2o.h +++ b/include/linux/i2o.h | |||
| @@ -492,7 +492,7 @@ static inline int i2o_dma_map_sg(struct i2o_controller *c, | |||
| 492 | * Returns 0 on success or -ENOMEM on failure. | 492 | * Returns 0 on success or -ENOMEM on failure. |
| 493 | */ | 493 | */ |
| 494 | static inline int i2o_dma_alloc(struct device *dev, struct i2o_dma *addr, | 494 | static inline int i2o_dma_alloc(struct device *dev, struct i2o_dma *addr, |
| 495 | size_t len, unsigned int gfp_mask) | 495 | size_t len, gfp_t gfp_mask) |
| 496 | { | 496 | { |
| 497 | struct pci_dev *pdev = to_pci_dev(dev); | 497 | struct pci_dev *pdev = to_pci_dev(dev); |
| 498 | int dma_64 = 0; | 498 | int dma_64 = 0; |
| @@ -551,7 +551,7 @@ static inline void i2o_dma_free(struct device *dev, struct i2o_dma *addr) | |||
| 551 | * Returns the 0 on success or negative error code on failure. | 551 | * Returns the 0 on success or negative error code on failure. |
| 552 | */ | 552 | */ |
| 553 | static inline int i2o_dma_realloc(struct device *dev, struct i2o_dma *addr, | 553 | static inline int i2o_dma_realloc(struct device *dev, struct i2o_dma *addr, |
| 554 | size_t len, unsigned int gfp_mask) | 554 | size_t len, gfp_t gfp_mask) |
| 555 | { | 555 | { |
| 556 | i2o_dma_free(dev, addr); | 556 | i2o_dma_free(dev, addr); |
| 557 | 557 | ||
diff --git a/include/linux/loop.h b/include/linux/loop.h index 53fa51595443..40f63c9879d2 100644 --- a/include/linux/loop.h +++ b/include/linux/loop.h | |||
| @@ -52,7 +52,7 @@ struct loop_device { | |||
| 52 | unsigned lo_blocksize; | 52 | unsigned lo_blocksize; |
| 53 | void *key_data; | 53 | void *key_data; |
| 54 | 54 | ||
| 55 | int old_gfp_mask; | 55 | gfp_t old_gfp_mask; |
| 56 | 56 | ||
| 57 | spinlock_t lo_lock; | 57 | spinlock_t lo_lock; |
| 58 | struct bio *lo_bio; | 58 | struct bio *lo_bio; |
