Commit 887e7019 authored by Josh Triplett's avatar Josh Triplett
Browse files

mm: Support fadvise without CONFIG_MMU

Commit d3ac21ca

 ("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: default avatarJohannes Weiner <hannes@cmpxchg.org>
Signed-off-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent d3ac21ca
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment