diff options
Diffstat (limited to 'c_src/include/linux/sched')
-rw-r--r-- | c_src/include/linux/sched/clock.h | 0 | ||||
-rw-r--r-- | c_src/include/linux/sched/cputime.h | 6 | ||||
-rw-r--r-- | c_src/include/linux/sched/debug.h | 0 | ||||
-rw-r--r-- | c_src/include/linux/sched/mm.h | 31 | ||||
-rw-r--r-- | c_src/include/linux/sched/rt.h | 9 | ||||
-rw-r--r-- | c_src/include/linux/sched/signal.h | 11 | ||||
-rw-r--r-- | c_src/include/linux/sched/task.h | 0 | ||||
-rw-r--r-- | c_src/include/linux/sched/task_stack.h | 0 |
8 files changed, 0 insertions, 57 deletions
diff --git a/c_src/include/linux/sched/clock.h b/c_src/include/linux/sched/clock.h deleted file mode 100644 index e69de29b..00000000 --- a/c_src/include/linux/sched/clock.h +++ /dev/null diff --git a/c_src/include/linux/sched/cputime.h b/c_src/include/linux/sched/cputime.h deleted file mode 100644 index a89c626f..00000000 --- a/c_src/include/linux/sched/cputime.h +++ /dev/null @@ -1,6 +0,0 @@ - -static inline void task_cputime_adjusted(struct task_struct *p, u64 *utime, u64 *stime) -{ - *utime = 0; - *stime = 0; -} diff --git a/c_src/include/linux/sched/debug.h b/c_src/include/linux/sched/debug.h deleted file mode 100644 index e69de29b..00000000 --- a/c_src/include/linux/sched/debug.h +++ /dev/null diff --git a/c_src/include/linux/sched/mm.h b/c_src/include/linux/sched/mm.h deleted file mode 100644 index 03feda7a..00000000 --- a/c_src/include/linux/sched/mm.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef _LINUX_SCHED_MM_H -#define _LINUX_SCHED_MM_H - -#define PF_MEMALLOC 0x00000800 /* Allocating memory */ -#define PF_MEMALLOC_NOFS 0x00040000 /* All allocation requests will inherit GFP_NOFS */ - -static inline unsigned int memalloc_nofs_save(void) -{ - unsigned int flags = current->flags & PF_MEMALLOC_NOFS; - current->flags |= PF_MEMALLOC_NOFS; - return flags; -} - -static inline void memalloc_nofs_restore(unsigned int flags) -{ - current->flags = (current->flags & ~PF_MEMALLOC_NOFS) | flags; -} - -static inline unsigned int memalloc_noreclaim_save(void) -{ - unsigned int flags = current->flags & PF_MEMALLOC; - current->flags |= PF_MEMALLOC; - return flags; -} - -static inline void memalloc_noreclaim_restore(unsigned int flags) -{ - current->flags = (current->flags & ~PF_MEMALLOC) | flags; -} - -#endif /* _LINUX_SCHED_MM_H */ diff --git a/c_src/include/linux/sched/rt.h b/c_src/include/linux/sched/rt.h deleted file mode 100644 index ef3040e4..00000000 --- a/c_src/include/linux/sched/rt.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifndef _SCHED_RT_H -#define _SCHED_RT_H - -static inline int rt_task(struct task_struct *p) -{ - return 0; -} - -#endif /* _SCHED_RT_H */ diff --git a/c_src/include/linux/sched/signal.h b/c_src/include/linux/sched/signal.h deleted file mode 100644 index 20bdc050..00000000 --- a/c_src/include/linux/sched/signal.h +++ /dev/null @@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_SCHED_SIGNAL_H -#define _LINUX_SCHED_SIGNAL_H - -static inline int fatal_signal_pending(struct task_struct *p) -{ - return 0; -} - -#endif /* _LINUX_SCHED_SIGNAL_H */ - diff --git a/c_src/include/linux/sched/task.h b/c_src/include/linux/sched/task.h deleted file mode 100644 index e69de29b..00000000 --- a/c_src/include/linux/sched/task.h +++ /dev/null diff --git a/c_src/include/linux/sched/task_stack.h b/c_src/include/linux/sched/task_stack.h deleted file mode 100644 index e69de29b..00000000 --- a/c_src/include/linux/sched/task_stack.h +++ /dev/null |