aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 899d7304d594..17e9a8e9a51d 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -639,6 +639,8 @@ struct signal_struct {
639 unsigned audit_tty; 639 unsigned audit_tty;
640 struct tty_audit_buf *tty_audit_buf; 640 struct tty_audit_buf *tty_audit_buf;
641#endif 641#endif
642
643 int oom_adj; /* OOM kill score adjustment (bit shift) */
642}; 644};
643 645
644/* Context switch must be unlocked if interrupts are to be enabled */ 646/* Context switch must be unlocked if interrupts are to be enabled */
@@ -1221,7 +1223,6 @@ struct task_struct {
1221 * a short time 1223 * a short time
1222 */ 1224 */
1223 unsigned char fpu_counter; 1225 unsigned char fpu_counter;
1224 s8 oomkilladj; /* OOM kill score adjustment (bit shift). */
1225#ifdef CONFIG_BLK_DEV_IO_TRACE 1226#ifdef CONFIG_BLK_DEV_IO_TRACE
1226 unsigned int btrace_seq; 1227 unsigned int btrace_seq;
1227#endif 1228#endif