aboutsummaryrefslogtreecommitdiff
path: root/include/linux/pspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pspace.h')
-rw-r--r--include/linux/pspace.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/pspace.h b/include/linux/pspace.h
index a8a064b0ad18..91d48b8b2d99 100644
--- a/include/linux/pspace.h
+++ b/include/linux/pspace.h
@@ -13,4 +13,11 @@ struct pidmap {
#define PIDMAP_ENTRIES ((PID_MAX_LIMIT + 8*PAGE_SIZE - 1)/PAGE_SIZE/8)
+struct pspace {
+ struct pidmap pidmap[PIDMAP_ENTRIES];
+ int last_pid;
+};
+
+extern struct pspace init_pspace;
+
#endif /* _LINUX_PSPACE_H */