summaryrefslogtreecommitdiffstats
path: root/mm/mempool.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2005-07-07 17:56:58 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 18:23:46 -0700
commit0db925af1db5f3dfe1691c35b39496e2baaff9c9 (patch)
treebb9f827fa001b27f7a902abf174e8f0057c9df81 /mm/mempool.c
parentb84c21572de8a732062eff5592e3c4b3b1793bb8 (diff)
downloadkernel-crypto-0db925af1db5f3dfe1691c35b39496e2baaff9c9.tar.gz
kernel-crypto-0db925af1db5f3dfe1691c35b39496e2baaff9c9.tar.xz
kernel-crypto-0db925af1db5f3dfe1691c35b39496e2baaff9c9.zip
[PATCH] propagate __nocast annotations
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/mempool.c')
-rw-r--r--mm/mempool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mempool.c b/mm/mempool.c
index 9a72f7d918f..65f2957b8d5 100644
--- a/mm/mempool.c
+++ b/mm/mempool.c
@@ -205,7 +205,7 @@ void * mempool_alloc(mempool_t *pool, unsigned int __nocast gfp_mask)
void *element;
unsigned long flags;
wait_queue_t wait;
- int gfp_temp;
+ unsigned int gfp_temp;
might_sleep_if(gfp_mask & __GFP_WAIT);