commit | fd4f2df24bc23e6b8fc069765b425c7dacf52347 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Oct 21 03:18:50 2005 -0400 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Oct 28 08:16:47 2005 -0700 |
tree | f7e993817030747c5e1000d46685ebd2eef11085 | |
parent | 6daa0e28627abf362138244a620a821a9027d816 [diff] [blame] |
[PATCH] gfp_t: lib/* Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff --git a/lib/idr.c b/lib/idr.c index d4df21d..6414b2f 100644 --- a/lib/idr.c +++ b/lib/idr.c
@@ -72,7 +72,7 @@ * If the system is REALLY out of memory this function returns 0, * otherwise 1. */ -int idr_pre_get(struct idr *idp, unsigned gfp_mask) +int idr_pre_get(struct idr *idp, gfp_t gfp_mask) { while (idp->id_free_cnt < IDR_FREE_MAX) { struct idr_layer *new;