linux/arch/nios2/include/asm
Yury Norov c02be2ad2b uaccess: unify inline vs outline copy_{from,to}_user() selection
The kernel allows arches to select between inline and outline
implementations of the copy_{from,to}_user() by defining individual
INLINE_COPY_FROM_USER and INLINE_COPY_TO_USER, correspondingly.  However,
all arches enable or disable them always together.

Without the real use-case for one helper being inlined while the other
outlined, having independent controls is excessive and error prone.

Switch the codebase to the single unified INLINE_COPY_USER control.

Link: https://lore.kernel.org/20260425020857.356850-3-ynorov@nvidia.com
Signed-off-by: Yury Norov <ynorov@nvidia.com>
Tested-by: Alice Ryhl <aliceryhl@google.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Viktor Malik <vmalik@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2026-05-28 21:24:44 -07:00
..
asm-macros.h
asm-offsets.h
cache.h
cacheflush.h mm: Introduce flush_cache_vmap_early() 2023-12-14 00:23:17 -08:00
cachetype.h Introduce cpu_dcache_is_aliasing() across all architectures 2024-02-22 15:27:19 -08:00
checksum.h unify generic instances of csum_partial_copy_nocheck() 2020-08-20 15:45:14 -04:00
cpuinfo.h
delay.h
elf.h
entry.h nios2: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-08-25 05:50:28 -05:00
io.h asm-generic: provide generic page_to_phys and phys_to_page implementations 2024-10-28 21:44:28 +00:00
irq.h nios2: Do not include linux/irqdomain.h from asm/irq.h 2021-06-10 13:09:15 +01:00
irqflags.h NIOS2: irqflags: rename a redefined register name 2021-10-18 11:22:59 -05:00
Kbuild ring-buffer: Flush and stop persistent ring buffer on panic 2026-05-21 08:20:58 -04:00
kgdb.h
linkage.h nios2: Implement _THIS_IP_ using inline asm 2026-05-21 18:50:46 -05:00
mmu_context.h nios2: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:36 +01:00
mmu.h
page.h mm: convert do_brk_flags() to use vma_flags_t 2026-04-05 13:53:40 -07:00
pgalloc.h mm: pgtable: convert some architectures to use tlb_remove_ptdesc() 2025-04-01 15:17:13 -07:00
pgtable-bits.h nios2/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE 2023-02-02 22:33:08 -08:00
pgtable.h arch, mm: consolidate empty_zero_page 2026-04-05 13:53:01 -07:00
processor.h nios2: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-08-25 05:50:28 -05:00
ptrace.h nios2: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-08-25 05:50:28 -05:00
registers.h nios2: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-08-25 05:50:28 -05:00
setup.h nios2: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-08-25 05:50:28 -05:00
shmparam.h
string.h
swab.h nios2: uapi: Remove custom asm/swab.h from UAPI 2026-01-30 16:46:17 +01:00
switch_to.h
syscall.h syscall.h: introduce syscall_set_nr() 2025-05-11 17:48:15 -07:00
syscalls.h nios2: implement architecture-specific portion of sys_clone3 2025-09-01 15:31:34 +02:00
thread_info.h nios2: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-08-25 05:50:28 -05:00
timex.h nios2: use fallback for random_get_entropy() instead of zero 2022-05-13 23:59:23 +02:00
tlb.h
tlbflush.h
traps.h nios2: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-08-25 05:50:28 -05:00
uaccess.h uaccess: unify inline vs outline copy_{from,to}_user() selection 2026-05-28 21:24:44 -07:00
unistd.h nios2: implement architecture-specific portion of sys_clone3 2025-09-01 15:31:34 +02:00
vmalloc.h mm/vmalloc: Add empty <asm/vmalloc.h> headers and use them from <linux/vmalloc.h> 2019-12-10 10:12:55 +01:00