[PATCH] sparc32: do not include swap.h from pgtable_32.h export struct mem_cgroup'

From: Michal Hocko
Date: Tue Aug 04 2015 - 10:26:01 EST


On Sat 01-08-15 20:02:20, Guenter Roeck wrote:
> Hi,
>
> Commit b65390c6c2178f ("memcg: export struct mem_cgroup") causes several
> build failures in -next (next-20150731) when trying to build
> sparc32:allmodconfig.
>
> Below are some of the errors, as well as a bisect log.

The following patch should take care of the mess. I've tested it with
all{no,mod}config and defconfig. allyesconfig fails due to unrelated issue but
make mm/ succeeds.
---