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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c88be3eb2e01bbb21c9ccdc3805f0d3546c1898c;p=linux-beck.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 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];