mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
LSK-ANDROID: memcg: Remove wrong ->attach callback
mem_cgroup_move_task() is now called from ->post_attach instead of ->attach thanks to LTS commit52526076a5("memcg: relocate charge moving from ->attach to ->post_attach"). Hence remove ->attach callback which sneaked back into lsk-v4.4-android tree in the LSK merge commit334ca3ed18("Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android"). Otherwise we run into following build warning reported on KernelCI https://kernelci.org/build/lsk/branch/linux-linaro-lsk-v4.4-android/kernel/lsk-v4.4-17.11-android-844-g6a7d9fbcf946/ mm/memcontrol.c:5337:12: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] Fixes: LSK commit334ca3ed18("Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android") Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
This commit is contained in:
parent
3210a869ae
commit
c210bc406d
|
|
@ -5334,7 +5334,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,
|
||||
.post_attach = mem_cgroup_move_task,
|
||||
.bind = mem_cgroup_bind,
|
||||
.dfl_cftypes = memory_files,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user