diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/prctl.h | 2 | ||||
| -rw-r--r-- | include/linux/sched.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/prctl.h b/include/linux/prctl.h index b00df4c79c63..3dc303197e67 100644 --- a/include/linux/prctl.h +++ b/include/linux/prctl.h | |||
| @@ -88,4 +88,6 @@ | |||
| 88 | #define PR_TASK_PERF_COUNTERS_DISABLE 31 | 88 | #define PR_TASK_PERF_COUNTERS_DISABLE 31 |
| 89 | #define PR_TASK_PERF_COUNTERS_ENABLE 32 | 89 | #define PR_TASK_PERF_COUNTERS_ENABLE 32 |
| 90 | 90 | ||
| 91 | #define PR_MCE_KILL 33 | ||
| 92 | |||
| 91 | #endif /* _LINUX_PRCTL_H */ | 93 | #endif /* _LINUX_PRCTL_H */ |
diff --git a/include/linux/sched.h b/include/linux/sched.h index f3d74bd04d18..29eae73c951d 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -1687,6 +1687,7 @@ extern cputime_t task_gtime(struct task_struct *p); | |||
| 1687 | #define PF_EXITPIDONE 0x00000008 /* pi exit done on shut down */ | 1687 | #define PF_EXITPIDONE 0x00000008 /* pi exit done on shut down */ |
| 1688 | #define PF_VCPU 0x00000010 /* I'm a virtual CPU */ | 1688 | #define PF_VCPU 0x00000010 /* I'm a virtual CPU */ |
| 1689 | #define PF_FORKNOEXEC 0x00000040 /* forked but didn't exec */ | 1689 | #define PF_FORKNOEXEC 0x00000040 /* forked but didn't exec */ |
| 1690 | #define PF_MCE_PROCESS 0x00000080 /* process policy on mce errors */ | ||
| 1690 | #define PF_SUPERPRIV 0x00000100 /* used super-user privileges */ | 1691 | #define PF_SUPERPRIV 0x00000100 /* used super-user privileges */ |
| 1691 | #define PF_DUMPCORE 0x00000200 /* dumped core */ | 1692 | #define PF_DUMPCORE 0x00000200 /* dumped core */ |
| 1692 | #define PF_SIGNALED 0x00000400 /* killed by a signal */ | 1693 | #define PF_SIGNALED 0x00000400 /* killed by a signal */ |
| @@ -1706,6 +1707,7 @@ extern cputime_t task_gtime(struct task_struct *p); | |||
| 1706 | #define PF_SPREAD_PAGE 0x01000000 /* Spread page cache over cpuset */ | 1707 | #define PF_SPREAD_PAGE 0x01000000 /* Spread page cache over cpuset */ |
| 1707 | #define PF_SPREAD_SLAB 0x02000000 /* Spread some slab caches over cpuset */ | 1708 | #define PF_SPREAD_SLAB 0x02000000 /* Spread some slab caches over cpuset */ |
| 1708 | #define PF_THREAD_BOUND 0x04000000 /* Thread bound to specific cpu */ | 1709 | #define PF_THREAD_BOUND 0x04000000 /* Thread bound to specific cpu */ |
| 1710 | #define PF_MCE_EARLY 0x08000000 /* Early kill for mce process policy */ | ||
| 1709 | #define PF_MEMPOLICY 0x10000000 /* Non-default NUMA mempolicy */ | 1711 | #define PF_MEMPOLICY 0x10000000 /* Non-default NUMA mempolicy */ |
| 1710 | #define PF_MUTEX_TESTER 0x20000000 /* Thread belongs to the rt mutex tester */ | 1712 | #define PF_MUTEX_TESTER 0x20000000 /* Thread belongs to the rt mutex tester */ |
| 1711 | #define PF_FREEZER_SKIP 0x40000000 /* Freezer should not count it as freezeable */ | 1713 | #define PF_FREEZER_SKIP 0x40000000 /* Freezer should not count it as freezeable */ |
