mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-23 12:38:20 -04:00
This commit adds the sys_clone3 entry point for nios2. An architecture-specific wrapper (__sys_clone3) is required to save and restore additional registers to the kernel stack via SAVE_SWITCH_STACK and RESTORE_SWITCH_STACK. Signed-off-by: Simon Schuster <schuster.simon@siemens-energy.com> Link: https://lore.kernel.org/20250901-nios2-implement-clone3-v2-4-53fcf5577d57@siemens-energy.com Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Christian Brauner <brauner@kernel.org>
11 lines
210 B
C
11 lines
210 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef __ASM_UNISTD_H
|
|
#define __ASM_UNISTD_H
|
|
|
|
#include <uapi/asm/unistd.h>
|
|
|
|
#define __ARCH_WANT_STAT64
|
|
#define __ARCH_WANT_SET_GET_RLIMIT
|
|
|
|
#endif
|