diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pid_namespace.h (renamed from include/linux/pspace.h) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/pspace.h b/include/linux/pid_namespace.h index 91d48b8b2d99..54d79095e295 100644 --- a/include/linux/pspace.h +++ b/include/linux/pid_namespace.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef _LINUX_PSPACE_H | 1 | #ifndef _LINUX_PID_NS_H |
2 | #define _LINUX_PSPACE_H | 2 | #define _LINUX_PID_NS_H |
3 | 3 | ||
4 | #include <linux/sched.h> | 4 | #include <linux/sched.h> |
5 | #include <linux/mm.h> | 5 | #include <linux/mm.h> |
@@ -13,11 +13,11 @@ struct pidmap { | |||
13 | 13 | ||
14 | #define PIDMAP_ENTRIES ((PID_MAX_LIMIT + 8*PAGE_SIZE - 1)/PAGE_SIZE/8) | 14 | #define PIDMAP_ENTRIES ((PID_MAX_LIMIT + 8*PAGE_SIZE - 1)/PAGE_SIZE/8) |
15 | 15 | ||
16 | struct pspace { | 16 | struct pid_namespace { |
17 | struct pidmap pidmap[PIDMAP_ENTRIES]; | 17 | struct pidmap pidmap[PIDMAP_ENTRIES]; |
18 | int last_pid; | 18 | int last_pid; |
19 | }; | 19 | }; |
20 | 20 | ||
21 | extern struct pspace init_pspace; | 21 | extern struct pid_namespace init_pid_ns; |
22 | 22 | ||
23 | #endif /* _LINUX_PSPACE_H */ | 23 | #endif /* _LINUX_PID_NS_H */ |