diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index b579624477f4..c667255d70db 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -287,6 +287,7 @@ extern signed long schedule_timeout_uninterruptible(signed long timeout); | |||
287 | asmlinkage void schedule(void); | 287 | asmlinkage void schedule(void); |
288 | 288 | ||
289 | struct nsproxy; | 289 | struct nsproxy; |
290 | struct user_namespace; | ||
290 | 291 | ||
291 | /* Maximum number of active map areas.. This is a random (large) number */ | 292 | /* Maximum number of active map areas.. This is a random (large) number */ |
292 | #define DEFAULT_MAX_MAP_COUNT 65536 | 293 | #define DEFAULT_MAX_MAP_COUNT 65536 |
@@ -1408,7 +1409,7 @@ extern struct task_struct *find_task_by_pid_type(int type, int pid); | |||
1408 | extern void __set_special_pids(pid_t session, pid_t pgrp); | 1409 | extern void __set_special_pids(pid_t session, pid_t pgrp); |
1409 | 1410 | ||
1410 | /* per-UID process charging. */ | 1411 | /* per-UID process charging. */ |
1411 | extern struct user_struct * alloc_uid(uid_t); | 1412 | extern struct user_struct * alloc_uid(struct user_namespace *, uid_t); |
1412 | static inline struct user_struct *get_uid(struct user_struct *u) | 1413 | static inline struct user_struct *get_uid(struct user_struct *u) |
1413 | { | 1414 | { |
1414 | atomic_inc(&u->__count); | 1415 | atomic_inc(&u->__count); |