mm: don't include <linux/dax.h> in <linux/mempolicy.h>
authorChristoph Hellwig <hch@lst.de>
Fri, 5 Nov 2021 20:35:30 +0000 (13:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Nov 2021 20:30:33 +0000 (13:30 -0700)
commit96c84dde362a3e4ff67a12eaac2ea6e88e963c07
treea13f2329a59bd42b07cc6c071afee1b5aead35d0
parent554b0f3ca6f4948fdbab5f199858d902061318d0
mm: don't include <linux/dax.h> in <linux/mempolicy.h>

Not required at all, and having this causes a huge kernel rebuild as
soon as something in dax.h changes.

Link: https://lkml.kernel.org/r/20210921082253.1859794-1-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mempolicy.h
mm/memory-failure.c