Skip to content

Commit

Permalink
[PATCH] pids coding style use struct pidmap in next_pidmap
Browse files Browse the repository at this point in the history
Use struct pidmap instead of pidmap_t.

This updates my proc: readdir race fix (take 3) patch
to account for the changes made by: Sukadev Bhattiprolu <[email protected]>
to kill pidmap_t.

Signed-off-by: Eric W. Biederman <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
ebiederm authored and Linus Torvalds committed Oct 2, 2006
1 parent 6a1f3b8 commit c88be3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/pid.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ static int alloc_pidmap(void)
static int next_pidmap(int last)
{
int offset;
pidmap_t *map;
struct pidmap *map;

offset = (last + 1) & BITS_PER_PAGE_MASK;
map = &pidmap_array[(last + 1)/BITS_PER_PAGE];
Expand Down

0 comments on commit c88be3e

Please sign in to comment.