1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _SYSCALL_USER_DISPATCH_TYPES_H
3#define _SYSCALL_USER_DISPATCH_TYPES_H
4
5#include <linux/types.h>
6
7#ifdef CONFIG_GENERIC_ENTRY
8
9struct syscall_user_dispatch {
10	char __user	*selector;
11	unsigned long	offset;
12	unsigned long	len;
13	bool		on_dispatch;
14};
15
16#else
17
18struct syscall_user_dispatch {};
19
20#endif
21
22#endif /* _SYSCALL_USER_DISPATCH_TYPES_H */
23