From c88be3eb2e01bbb21c9ccdc3805f0d3546c1898c Mon Sep 17 00:00:00 2001 From: "Eric W. Biederman" Date: Mon, 2 Oct 2006 02:17:21 -0700 Subject: [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 --- kernel/pid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/pid.c') 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]; -- cgit v1.2.3