diff options
Diffstat (limited to 'include/linux/pspace.h')
-rw-r--r-- | include/linux/pspace.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/pspace.h b/include/linux/pspace.h new file mode 100644 index 000000000000..a8a064b0ad18 --- /dev/null +++ b/include/linux/pspace.h | |||
@@ -0,0 +1,16 @@ | |||
1 | #ifndef _LINUX_PSPACE_H | ||
2 | #define _LINUX_PSPACE_H | ||
3 | |||
4 | #include <linux/sched.h> | ||
5 | #include <linux/mm.h> | ||
6 | #include <linux/threads.h> | ||
7 | #include <linux/pid.h> | ||
8 | |||
9 | struct pidmap { | ||
10 | atomic_t nr_free; | ||
11 | void *page; | ||
12 | }; | ||
13 | |||
14 | #define PIDMAP_ENTRIES ((PID_MAX_LIMIT + 8*PAGE_SIZE - 1)/PAGE_SIZE/8) | ||
15 | |||
16 | #endif /* _LINUX_PSPACE_H */ | ||