summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2018-10-05 12:27:23 +0300
committerIngo Molnar <mingo@kernel.org>2018-10-05 12:27:23 +0300
commitbce6824cc8e86619901265b7e77c59cc9d99e05b (patch)
treead118914e1374c2ccd06999bc24bd2708897ff7f /include
parent494b5168f2de009eb80f198f668da374295098dd (diff)
parentc0554d2d3db438623b4f2f9abc3d766b2b15d2fb (diff)
downloadlinux-bce6824cc8e86619901265b7e77c59cc9d99e05b.tar.xz
Merge branch 'x86/core' into x86/build, to avoid conflicts
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 977cb57d7bc9..56dd65f1be4f 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -739,6 +739,12 @@ struct task_struct {
unsigned use_memdelay:1;
#endif
+ /*
+ * May usercopy functions fault on kernel addresses?
+ * This is not just a single bit because this can potentially nest.
+ */
+ unsigned int kernel_uaccess_faults_ok;
+
unsigned long atomic_flags; /* Flags requiring atomic access. */
struct restart_block restart_block;