X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=lib%2Fidr.c;h=6414b2fb482d48255e0e54e23dcead7ee849658c;hb=005a5a06a6dd13a0ca3f2c6a0218e8d94ed36d8a;hp=d4df21debc4ddb77948206f6091fb27c569e9909;hpb=556902cd2d2cfdc54fe1f1d7f3ac5e2eb276ac09;p=karo-tx-linux.git diff --git a/lib/idr.c b/lib/idr.c index d4df21debc4d..6414b2fb482d 100644 --- a/lib/idr.c +++ b/lib/idr.c @@ -72,7 +72,7 @@ static void free_layer(struct idr *idp, struct idr_layer *p) * 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;