OpenCloudOS-Kernel/arch/csky/abiv1
Matthew Wilcox (Oracle) 842ca547f7 mm: move page_mapping_file to pagemap.h
page_mapping_file() is only used by some architectures, and then it
is usually only used in one place.  Make it a static inline function
so other architectures don't have to carry this dead code.

Link: https://lkml.kernel.org/r/20210317123011.350118-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Cc: Huang Ying <ying.huang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-04-30 11:20:37 -07:00
..
inc/abi csky: Fixup compile error 2021-02-27 22:04:14 +08:00
Makefile csky: Fixup abiv1 memset error 2019-07-19 14:21:36 +08:00
alignment.c csky: Support kernel non-aligned access 2019-08-20 20:15:44 +08:00
bswapdi.c csky: Library functions 2018-10-26 00:54:24 +08:00
bswapsi.c csky: Library functions 2018-10-26 00:54:24 +08:00
cacheflush.c mm: move page_mapping_file to pagemap.h 2021-04-30 11:20:37 -07:00
memcpy.S csky: Library functions 2018-10-26 00:54:24 +08:00
mmap.c csky: Fixup arch_get_unmapped_area() implementation 2019-08-20 16:09:37 +08:00
strksyms.c csky: Fixup abiv1 memset error 2019-07-19 14:21:36 +08:00