]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] pids coding style use struct pidmap in next_pidmap
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 2 Oct 2006 09:17:21 +0000 (02:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:15 +0000 (07:57 -0700)
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>
kernel/pid.c

index 0a45de2918e293a6c791c8e00b6d0a7226613870..373639a10d8456dce5998d8c6f949569edb1abcb 100644 (file)
@@ -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];