Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115930
b: refs/heads/master
c: 886465f
h: refs/heads/master
v: v3
  • Loading branch information
Paul Menage authored and Linus Torvalds committed Oct 20, 2008
1 parent 5cec738 commit 7493469
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cc31edceee04a7b87f2be48f9489ebb72d264844
refs/heads/master: 886465f407e57d6c3c81013c919ea670ce1ae0d0
15 changes: 6 additions & 9 deletions trunk/include/linux/cgroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,9 @@ void cgroup_iter_end(struct cgroup *cgrp, struct cgroup_iter *it);
int cgroup_scan_tasks(struct cgroup_scanner *scan);
int cgroup_attach_task(struct cgroup *, struct task_struct *);

void cgroup_mm_owner_callbacks(struct task_struct *old,
struct task_struct *new);

#else /* !CONFIG_CGROUPS */

static inline int cgroup_init_early(void) { return 0; }
Expand All @@ -421,15 +424,9 @@ static inline int cgroupstats_build(struct cgroupstats *stats,
return -EINVAL;
}

static inline void cgroup_mm_owner_callbacks(struct task_struct *old,
struct task_struct *new) {}

#endif /* !CONFIG_CGROUPS */

#ifdef CONFIG_MM_OWNER
extern void
cgroup_mm_owner_callbacks(struct task_struct *old, struct task_struct *new);
#else /* !CONFIG_MM_OWNER */
static inline void
cgroup_mm_owner_callbacks(struct task_struct *old, struct task_struct *new)
{
}
#endif /* CONFIG_MM_OWNER */
#endif /* _LINUX_CGROUP_H */

0 comments on commit 7493469

Please sign in to comment.