summaryrefslogtreecommitdiffstats
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)
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];
OpenPOWER on IntegriCloud