commit | 887e7019e3b8f00c7901c0bc66fb689ced69f7b4 | [log] [tgz] |
---|---|---|
author | Josh Triplett <josh@joshtriplett.org> | Fri Oct 10 13:12:28 2014 -0700 |
committer | Josh Triplett <josh@joshtriplett.org> | Fri Oct 10 13:12:28 2014 -0700 |
tree | 1fc6fbc9067c1453123b96ffdf7918c7e8be6af0 | |
parent | d3ac21cacc24790eb45d735769f35753f5b56ceb [diff] |
mm: Support fadvise without CONFIG_MMU Commit d3ac21cacc24790eb45d735769f35753f5b56ceb ("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>