From: Eric W. Biederman Date: Mon, 2 Oct 2006 09:17:21 +0000 (-0700) Subject: [PATCH] pids coding style use struct pidmap in next_pidmap X-Git-Tag: v2.6.19-rc1~469 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c88be3eb2e01bbb21c9ccdc3805f0d3546c1898c;p=linux-2.6-omap-h63xx.git [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 to kill pidmap_t. Signed-off-by: Eric W. Biederman Cc: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/pid.c b/kernel/pid.c index 0a45de2918e..373639a10d8 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];