Skip to content

Commit

Permalink
Merge branch 'core/types' into x86/x32
Browse files Browse the repository at this point in the history
  • Loading branch information
H. Peter Anvin committed Feb 26, 2012
2 parents 00194b2 + 189017c commit e0a449c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/mips/kernel/kspd.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ static void sp_cleanup(void)
i = j * __NFDBITS;
if (i >= fdt->max_fds)
break;
set = fdt->open_fds->fds_bits[j++];
set = fdt->open_fds[j++];
while (set) {
if (set & 1) {
struct file * file = xchg(&fdt->fd[i], NULL);
Expand Down
3 changes: 1 addition & 2 deletions drivers/staging/android/binder.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,7 @@ int task_get_unused_fd_flags(struct binder_proc *proc, int flags)

repeat:
fdt = files_fdtable(files);
fd = find_next_zero_bit(fdt->open_fds->fds_bits, fdt->max_fds,
files->next_fd);
fd = find_next_zero_bit(fdt->open_fds, fdt->max_fds, files->next_fd);

/*
* N.B. For clone tasks sharing a files structure, this test
Expand Down

0 comments on commit e0a449c

Please sign in to comment.