]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - lib/idr.c
Update PowerPC vmemmap code for 1TB segments
[linux-2.6-omap-h63xx.git] / lib / idr.c
index d0f1acdbfa3a6451299867f38143dce6104faf11..09cbe2b69edb22ddc18c2feea74ff35b315e5018 100644 (file)
--- a/lib/idr.c
+++ b/lib/idr.c
@@ -120,7 +120,7 @@ static int sub_alloc(struct idr *idp, int *starting_id, struct idr_layer **pa)
        int n, m, sh;
        struct idr_layer *p, *new;
        int l, id, oid;
-       long bm;
+       unsigned long bm;
 
        id = *starting_id;
  restart: