]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Support fadvise without CONFIG_MMU
authorJosh Triplett <josh@joshtriplett.org>
Fri, 10 Oct 2014 20:12:28 +0000 (13:12 -0700)
committerJosh Triplett <josh@joshtriplett.org>
Fri, 10 Oct 2014 20:12:28 +0000 (13:12 -0700)
commit248529f72054040c352b0425f8aba021a145e8af
tree1fc6fbc9067c1453123b96ffdf7918c7e8be6af0
parentbea8a3976e54a781c71cd3c119709ed5ca71f6e7
mm: Support fadvise without CONFIG_MMU

Commit bea8a3976e54a781c71cd3c119709ed5ca71f6e7 ("mm: Support compiling
out madvise and fadvise") incorrectly made fadvise conditional on
CONFIG_MMU.  (The merged branch unintentionally incorporated v1 of the
patch rather than the fixed v2.)  Apply the delta from v1 to v2, to
allow fadvise without CONFIG_MMU.

Reported-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
mm/Makefile