IB/mlx4: Miscellaneous adjustments for SR-IOV IB support
[cascardo/linux.git] / kernel / exit.c
index d17f6c4..f65345f 100644 (file)
@@ -483,7 +483,7 @@ static void close_files(struct files_struct * files)
        rcu_read_unlock();
        for (;;) {
                unsigned long set;
-               i = j * __NFDBITS;
+               i = j * BITS_PER_LONG;
                if (i >= fdt->max_fds)
                        break;
                set = fdt->open_fds[j++];