build/patch/kernel/rockchip-default/memcontrol-bugfix.patch.disabled
Tonymac32 3bd583f01e Use Rockchip kernel
First successful compile. Still lots of bugs and things missing going from one "specialized" kernel to another.
2018-01-14 00:40:37 -05:00

36 lines
1 KiB
Text

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 652b9dc..43eefe9
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -4981,11 +4981,6 @@ static int mem_cgroup_can_attach(struct cgroup_taskset *tset)
return ret;
}
-static int mem_cgroup_allow_attach(struct cgroup_taskset *tset)
-{
- return subsys_cgroup_allow_attach(tset);
-}
-
static void mem_cgroup_cancel_attach(struct cgroup_taskset *tset)
{
if (mc.to)
@@ -5140,10 +5135,6 @@ static int mem_cgroup_can_attach(struct cgroup_taskset *tset)
{
return 0;
}
-static int mem_cgroup_allow_attach(struct cgroup_taskset *tset)
-{
- return 0;
-}
static void mem_cgroup_cancel_attach(struct cgroup_taskset *tset)
{
}
@@ -5361,8 +5352,6 @@ struct cgroup_subsys memory_cgrp_subsys = {
.css_reset = mem_cgroup_css_reset,
.can_attach = mem_cgroup_can_attach,
.cancel_attach = mem_cgroup_cancel_attach,
- .attach = mem_cgroup_move_task,
- .allow_attach = mem_cgroup_allow_attach,
.post_attach = mem_cgroup_move_task,
.bind = mem_cgroup_bind,
.dfl_cftypes = memory_files,