Re: [PATCH] mm/memcontrol.c: fix another unused function warning
From: Arnd Bergmann <arnd@arndb.de>
Date: 2019-10-01 16:01:11
Also in:
linux-mm, lkml
From: Arnd Bergmann <arnd@arndb.de>
Date: 2019-10-01 16:01:11
Also in:
linux-mm, lkml
On Tue, Oct 1, 2019 at 4:40 PM Qian Cai [off-list ref] wrote:
On Tue, 2019-10-01 at 16:22 +0200, Arnd Bergmann wrote:quoted
Removing the mem_cgroup_id_get() stub function introduced a new warning of the same kind when CONFIG_MMU is disabled:Shouldn't CONFIG_MEMCG depends on CONFIG_MMU instead?
Maybe. Generally we allow building a lot of stuff without CONFIG_MMU that
may not make sense, so I just followed the same idea here.
Arnd