Loading include/linux/sched.h +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ #include <linux/sched/prio.h> #include <linux/sched/types.h> #include <linux/signal_types.h> #include <linux/syscall_user_dispatch.h> #include <linux/syscall_user_dispatch_types.h> #include <linux/mm_types_task.h> #include <linux/task_io_accounting.h> #include <linux/posix-timers_types.h> Loading include/linux/syscall_user_dispatch.h +1 −8 Original line number Diff line number Diff line Loading @@ -6,16 +6,10 @@ #define _SYSCALL_USER_DISPATCH_H #include <linux/thread_info.h> #include <linux/syscall_user_dispatch_types.h> #ifdef CONFIG_GENERIC_ENTRY struct syscall_user_dispatch { char __user *selector; unsigned long offset; unsigned long len; bool on_dispatch; }; int set_syscall_user_dispatch(unsigned long mode, unsigned long offset, unsigned long len, char __user *selector); Loading @@ -29,7 +23,6 @@ int syscall_user_dispatch_set_config(struct task_struct *task, unsigned long siz void __user *data); #else struct syscall_user_dispatch {}; static inline int set_syscall_user_dispatch(unsigned long mode, unsigned long offset, unsigned long len, char __user *selector) Loading include/linux/syscall_user_dispatch_types.h 0 → 100644 +22 −0 Original line number Diff line number Diff line /* 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 */ Loading
include/linux/sched.h +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ #include <linux/sched/prio.h> #include <linux/sched/types.h> #include <linux/signal_types.h> #include <linux/syscall_user_dispatch.h> #include <linux/syscall_user_dispatch_types.h> #include <linux/mm_types_task.h> #include <linux/task_io_accounting.h> #include <linux/posix-timers_types.h> Loading
include/linux/syscall_user_dispatch.h +1 −8 Original line number Diff line number Diff line Loading @@ -6,16 +6,10 @@ #define _SYSCALL_USER_DISPATCH_H #include <linux/thread_info.h> #include <linux/syscall_user_dispatch_types.h> #ifdef CONFIG_GENERIC_ENTRY struct syscall_user_dispatch { char __user *selector; unsigned long offset; unsigned long len; bool on_dispatch; }; int set_syscall_user_dispatch(unsigned long mode, unsigned long offset, unsigned long len, char __user *selector); Loading @@ -29,7 +23,6 @@ int syscall_user_dispatch_set_config(struct task_struct *task, unsigned long siz void __user *data); #else struct syscall_user_dispatch {}; static inline int set_syscall_user_dispatch(unsigned long mode, unsigned long offset, unsigned long len, char __user *selector) Loading
include/linux/syscall_user_dispatch_types.h 0 → 100644 +22 −0 Original line number Diff line number Diff line /* 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 */