linux-xiaomi-chiron/arch/arc/include/asm
Randy Dunlap 8a48c0a336 arch/arc: add copy_user_page() to <asm/page.h> to fix build error on ARC
fs/dax.c uses copy_user_page() but ARC does not provide that interface,
resulting in a build error.

Provide copy_user_page() in <asm/page.h>.

../fs/dax.c: In function 'copy_cow_page_dax':
../fs/dax.c:702:2: error: implicit declaration of function 'copy_user_page'; did you mean 'copy_to_user_page'? [-Werror=implicit-function-declaration]

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: linux-snps-arc@lists.infradead.org
Cc: Dan Williams <dan.j.williams@intel.com>
#Acked-by: Vineet Gupta <vgupta@synopsys.com> # v1
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Jan Kara <jack@suse.cz>
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-nvdimm@lists.01.org
#Reviewed-by: Ira Weiny <ira.weiny@intel.com> # v2
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2021-01-05 12:59:40 -08:00
..
arcregs.h
asm-offsets.h
asserts.h
atomic.h
barrier.h
bitops.h
bug.h
cache.h
cacheflush.h
checksum.h
cmpxchg.h
current.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
delay.h
disasm.h
dma.h
dsp-impl.h
dsp.h
dwarf.h
elf.h
entry-arcv2.h
entry-compact.h
entry.h
exec.h
fb.h
fpu.h
futex.h
highmem.h
hugepage.h
io.h
irq.h
irqflags-arcv2.h
irqflags-compact.h
irqflags.h
jump_label.h
Kbuild
kdebug.h
kgdb.h
kprobes.h
linkage.h
mach_desc.h
mmu.h
mmu_context.h
mmzone.h
module.h
page.h
pci.h
perf_event.h
pgalloc.h
pgtable.h
processor.h
ptrace.h
sections.h
segment.h
serial.h
setup.h
shmparam.h
smp.h
spinlock.h
spinlock_types.h
stacktrace.h
string.h
switch_to.h
syscall.h
syscalls.h
thread_info.h
timex.h
tlb-mmu1.h
tlb.h
tlbflush.h
uaccess.h
unaligned.h
unwind.h
vermagic.h
vmalloc.h