mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
55b899aa3e
thread_info.h pulls in a lot of junk that sched.h that we don't need; in particular, this helps to kill the printk.h dependency. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
22 lines
388 B
C
22 lines
388 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _SYSCALL_USER_DISPATCH_TYPES_H
|
|
#define _SYSCALL_USER_DISPATCH_TYPES_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
#ifdef CONFIG_GENERIC_ENTRY
|
|
|
|
struct syscall_user_dispatch {
|
|
char __user *selector;
|
|
unsigned long offset;
|
|
unsigned long len;
|
|
bool on_dispatch;
|
|
};
|
|
|
|
#else
|
|
|
|
struct syscall_user_dispatch {};
|
|
|
|
#endif
|
|
|
|
#endif /* _SYSCALL_USER_DISPATCH_TYPES_H */
|