Merge remote-tracking branches 'asoc/topic/cs42l73', 'asoc/topic/cs47l24', 'asoc...
[sfrench/cifs-2.6.git] / arch / riscv / include / asm / vdso-syscalls.h
1 /*
2  * Copyright (C) 2017 SiFive
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15  */
16
17 #ifndef _ASM_RISCV_VDSO_SYSCALLS_H
18 #define _ASM_RISCV_VDSO_SYSCALLS_H
19
20 #ifdef CONFIG_SMP
21
22 /* These syscalls are only used by the vDSO and are not in the uapi. */
23 #define __NR_riscv_flush_icache (__NR_arch_specific_syscall + 15)
24 __SYSCALL(__NR_riscv_flush_icache, sys_riscv_flush_icache)
25
26 #endif
27
28 #endif /* _ASM_RISCV_VDSO_H */