diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index d17f6c4ddfa9..f65345f9e5bb 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -483,7 +483,7 @@ static void close_files(struct files_struct * files) | |||
483 | rcu_read_unlock(); | 483 | rcu_read_unlock(); |
484 | for (;;) { | 484 | for (;;) { |
485 | unsigned long set; | 485 | unsigned long set; |
486 | i = j * __NFDBITS; | 486 | i = j * BITS_PER_LONG; |
487 | if (i >= fdt->max_fds) | 487 | if (i >= fdt->max_fds) |
488 | break; | 488 | break; |
489 | set = fdt->open_fds[j++]; | 489 | set = fdt->open_fds[j++]; |