diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-10-02 02:17:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 07:57:15 -0700 |
commit | c88be3eb2e01bbb21c9ccdc3805f0d3546c1898c (patch) | |
tree | a308559e3a7778d85b7aa5d8486832bdcc9899d6 /kernel | |
parent | 6a1f3b84557774a46af68747c92d8f36382027ae (diff) | |
download | linux-c88be3eb2e01bbb21c9ccdc3805f0d3546c1898c.tar.bz2 |
[PATCH] pids coding style use struct pidmap in next_pidmap
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 <sukadev@us.ibm.com>
to kill pidmap_t.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/pid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/pid.c b/kernel/pid.c index 0a45de2918e2..373639a10d84 100644 --- a/kernel/pid.c +++ b/kernel/pid.c @@ -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]; |