mirror-linux/arch/microblaze/include/asm
Dmitry V. Levin cc6622730b syscall.h: introduce syscall_set_nr()
Similar to syscall_set_arguments() that complements
syscall_get_arguments(), introduce syscall_set_nr() that complements
syscall_get_nr().

syscall_set_nr() is going to be needed along with syscall_set_arguments()
on all HAVE_ARCH_TRACEHOOK architectures to implement
PTRACE_SET_SYSCALL_INFO API.

Link: https://lkml.kernel.org/r/20250303112020.GD24170@strace.io
Signed-off-by: Dmitry V. Levin <ldv@strace.io>
Tested-by: Charlie Jenkins <charlie@rivosinc.com>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Acked-by: Helge Deller <deller@gmx.de> # parisc
Reviewed-by: Maciej W. Rozycki <macro@orcam.me.uk> # mips
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Alexey Gladkov (Intel) <legion@kernel.org>
Cc: Andreas Larsson <andreas@gaisler.com>
Cc: anton ivanov <anton.ivanov@cambridgegreys.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Borislav Betkov <bp@alien8.de>
Cc: Brian Cain <bcain@quicinc.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: Christian Zankel <chris@zankel.net>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Davide Berardi <berardi.dav@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Eugene Syromiatnikov <esyr@redhat.com>
Cc: Eugene Syromyatnikov <evgsyr@gmail.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Guo Ren <guoren@kernel.org>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Naveen N Rao <naveen@kernel.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Renzo Davoi <renzo@cs.unibo.it>
Cc: Richard Weinberger <richard@nod.at>
Cc: Rich Felker <dalias@libc.org>
Cc: Russel King <linux@armlinux.org.uk>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stafford Horne <shorne@gmail.com>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Thomas Gleinxer <tglx@linutronix.de>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Vineet Gupta <vgupta@kernel.org>
Cc: WANG Xuerui <kernel@xen0n.name>
Cc: Will Deacon <will@kernel.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-05-11 17:48:15 -07:00
..
Kbuild asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
asm-compat.h
asm-offsets.h
barrier.h microblaze: Define microblaze barrier 2020-02-25 12:33:19 +01:00
cache.h microblaze: move the ARCH_{DMA,SLAB}_MINALIGN definitions to asm/cache.h 2023-06-19 16:19:24 -07:00
cacheflush.h microblaze: implement the new page table range API 2023-08-24 16:20:21 -07:00
checksum.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
cpuinfo.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
current.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
delay.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
dma.h PCI: Move isa_dma_bridge_buggy out of asm/dma.h 2022-07-22 17:24:47 -05:00
elf.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
entry.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
exceptions.h microblaze: Remove noMMU code 2020-11-26 16:39:35 +01:00
fixmap.h microblaze/mm/highmem: Switch to generic kmap atomic 2020-11-06 23:14:56 +01:00
flat.h move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ftrace.h arch: add missing prepare_ftrace_return() prototypes 2023-11-23 11:32:32 +01:00
futex.h futex: arch_futex_atomic_op_inuser() calling conventions change 2020-03-27 23:58:51 -04:00
hash.h
highmem.h microblaze/mm/highmem: Switch to generic kmap atomic 2020-11-06 23:14:56 +01:00
io.h arch/*/: remove CONFIG_VIRT_TO_BUS 2022-06-28 13:20:21 +02:00
irq.h irqchip/xilinx: Switch to GENERIC_IRQ_MULTI_HANDLER 2022-03-04 14:32:57 +00:00
irqflags.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
kgdb.h
mmu.h microblaze: Remove noMMU code 2020-11-26 16:39:35 +01:00
mmu_context.h microblaze: Remove noMMU code 2020-11-26 16:39:35 +01:00
mmu_context_mm.h microblaze: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:36 +01:00
module.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
page.h asm-generic updates for 6.13 2024-11-20 15:13:02 -08:00
pci-bridge.h microblaze/PCI: Remove support for Xilinx PCI host bridge 2022-11-25 11:39:23 +01:00
pci.h microblaze/PCI: Remove support for Xilinx PCI host bridge 2022-11-25 11:39:23 +01:00
pgalloc.h asm-generic: pgalloc: provide generic __pgd_{alloc,free} 2025-01-25 20:22:24 -08:00
pgtable.h mm: introduce a common definition of mk_pte() 2025-05-11 17:48:02 -07:00
processor.h kernel: exit: cleanup release_thread() 2022-09-11 21:55:07 -07:00
ptrace.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
pvr.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
registers.h microblaze: Remove noMMU code 2020-11-26 16:39:35 +01:00
seccomp.h
sections.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
setup.h microblaze: Remove zalloc_maybe_bootmem() 2023-08-23 09:35:22 +02:00
string.h microblaze: Use simple memmove/memcpy implementation from lib/string.c 2022-04-21 10:54:21 +02:00
switch_to.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
syscall.h syscall.h: introduce syscall_set_nr() 2025-05-11 17:48:15 -07:00
thread_info.h uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
timex.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
tlbflush.h microblaze: implement the new page table range API 2023-08-24 16:20:21 -07:00
uaccess.h uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
unistd.h microblaze: Convert headers to SPDX license 2020-02-25 12:33:19 +01:00
unwind.h microblaze: add loglvl to microblaze_unwind() 2020-06-09 09:39:11 -07: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
xilinx_mb_manager.h microblaze: Add support for error injection 2022-09-26 14:13:29 +02:00