aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/pid.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/pid.c')
-rw-r--r--kernel/pid.c2
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)
148static int next_pidmap(int last) 148static int next_pidmap(int last)
149{ 149{
150 int offset; 150 int offset;
151 pidmap_t *map; 151 struct pidmap *map;
152 152
153 offset = (last + 1) & BITS_PER_PAGE_MASK; 153 offset = (last + 1) & BITS_PER_PAGE_MASK;
154 map = &pidmap_array[(last + 1)/BITS_PER_PAGE]; 154 map = &pidmap_array[(last + 1)/BITS_PER_PAGE];