diff options
author | Souptick Joarder <[email protected]> | 2020-12-29 15:14:34 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-12-29 15:36:49 -0800 |
commit | 6d87d0ece58bc0022ca5247721a8eb06ef66b673 (patch) | |
tree | cc12c2ec0defc67d4995423d99850311f2c7c0f0 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5dbdb2d87c294401a22e6a6002f08ebc9fbea38b (diff) |
mm: add prototype for __add_to_page_cache_locked()
Otherwise it causes a gcc warning:
mm/filemap.c:830:14: warning: no previous prototype for `__add_to_page_cache_locked' [-Wmissing-prototypes]
A previous attempt to make this function static led to compilation
errors when CONFIG_DEBUG_INFO_BTF is enabled because
__add_to_page_cache_locked() is referred to by BPF code.
Adding a prototype will silence the warning.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Souptick Joarder <[email protected]>
Cc: Alex Shi <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions