xref: /linux/arch/m68k/include/asm/syscalls.h (revision eb01fe7abbe2d0b38824d2a93fdb4cc3eaf2ccc1)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef _ASM_M68K_SYSCALLS_H
3 #define _ASM_M68K_SYSCALLS_H
4 
5 #include <linux/compiler_types.h>
6 #include <linux/linkage.h>
7 
8 asmlinkage int sys_cacheflush(unsigned long addr, int scope, int cache,
9 			      unsigned long len);
10 asmlinkage int sys_atomic_cmpxchg_32(unsigned long newval, int oldval, int d3,
11 				     int d4, int d5, unsigned long __user *mem);
12 asmlinkage int sys_getpagesize(void);
13 asmlinkage unsigned long sys_get_thread_area(void);
14 asmlinkage int sys_set_thread_area(unsigned long tp);
15 asmlinkage int sys_atomic_barrier(void);
16 
17 #include <asm-generic/syscalls.h>
18 
19 #endif	/* _ASM_M68K_SYSCALLS_H */
20