162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __ASM_GENERIC_SYSCALLS_H
362306a36Sopenharmony_ci#define __ASM_GENERIC_SYSCALLS_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#include <linux/compiler.h>
662306a36Sopenharmony_ci#include <linux/linkage.h>
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci/*
962306a36Sopenharmony_ci * Calling conventions for these system calls can differ, so
1062306a36Sopenharmony_ci * it's possible to override them.
1162306a36Sopenharmony_ci */
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci#ifndef sys_mmap2
1462306a36Sopenharmony_ciasmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
1562306a36Sopenharmony_ci			unsigned long prot, unsigned long flags,
1662306a36Sopenharmony_ci			unsigned long fd, unsigned long pgoff);
1762306a36Sopenharmony_ci#endif
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci#ifndef sys_mmap
2062306a36Sopenharmony_ciasmlinkage long sys_mmap(unsigned long addr, unsigned long len,
2162306a36Sopenharmony_ci			unsigned long prot, unsigned long flags,
2262306a36Sopenharmony_ci			unsigned long fd, off_t pgoff);
2362306a36Sopenharmony_ci#endif
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci#ifndef sys_rt_sigreturn
2662306a36Sopenharmony_ciasmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
2762306a36Sopenharmony_ci#endif
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci#endif /* __ASM_GENERIC_SYSCALLS_H */
30