diff options
| author | Dave Airlie <airlied@starflyer.(none)> | 2005-10-20 04:21:33 -0400 |
|---|---|---|
| committer | Dave Airlie <airlied@linux.ie> | 2005-10-20 04:21:33 -0400 |
| commit | 312f5726055534be1dc9dd369be13aabd2943fcb (patch) | |
| tree | 29394a3f83b4952a73b36a4aa962dfeda839e9db /mm/mempool.c | |
| parent | 3d5efad953c6d5ba11d5bcb584ef8e906f953a73 (diff) | |
| parent | 93918e9afc76717176e9e114e79cdbb602a45ae8 (diff) | |
merge Linus head tree into my drm tree and fix up conflicts
Diffstat (limited to 'mm/mempool.c')
| -rw-r--r-- | mm/mempool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/mempool.c b/mm/mempool.c index 65f2957b8d51..9e377ea700b2 100644 --- a/mm/mempool.c +++ b/mm/mempool.c | |||
| @@ -112,7 +112,7 @@ EXPORT_SYMBOL(mempool_create_node); | |||
| 112 | * while this function is running. mempool_alloc() & mempool_free() | 112 | * while this function is running. mempool_alloc() & mempool_free() |
| 113 | * might be called (eg. from IRQ contexts) while this function executes. | 113 | * might be called (eg. from IRQ contexts) while this function executes. |
| 114 | */ | 114 | */ |
| 115 | int mempool_resize(mempool_t *pool, int new_min_nr, unsigned int __nocast gfp_mask) | 115 | int mempool_resize(mempool_t *pool, int new_min_nr, gfp_t gfp_mask) |
| 116 | { | 116 | { |
| 117 | void *element; | 117 | void *element; |
| 118 | void **new_elements; | 118 | void **new_elements; |
| @@ -200,7 +200,7 @@ EXPORT_SYMBOL(mempool_destroy); | |||
| 200 | * *never* fails when called from process contexts. (it might | 200 | * *never* fails when called from process contexts. (it might |
| 201 | * fail if called from an IRQ context.) | 201 | * fail if called from an IRQ context.) |
| 202 | */ | 202 | */ |
| 203 | void * mempool_alloc(mempool_t *pool, unsigned int __nocast gfp_mask) | 203 | void * mempool_alloc(mempool_t *pool, gfp_t gfp_mask) |
| 204 | { | 204 | { |
| 205 | void *element; | 205 | void *element; |
| 206 | unsigned long flags; | 206 | unsigned long flags; |
| @@ -276,7 +276,7 @@ EXPORT_SYMBOL(mempool_free); | |||
| 276 | /* | 276 | /* |
| 277 | * A commonly used alloc and free fn. | 277 | * A commonly used alloc and free fn. |
| 278 | */ | 278 | */ |
| 279 | void *mempool_alloc_slab(unsigned int __nocast gfp_mask, void *pool_data) | 279 | void *mempool_alloc_slab(gfp_t gfp_mask, void *pool_data) |
| 280 | { | 280 | { |
| 281 | kmem_cache_t *mem = (kmem_cache_t *) pool_data; | 281 | kmem_cache_t *mem = (kmem_cache_t *) pool_data; |
| 282 | return kmem_cache_alloc(mem, gfp_mask); | 282 | return kmem_cache_alloc(mem, gfp_mask); |
