summaryrefslogtreecommitdiffstats
path: root/arch/um/include/common-offsets.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/common-offsets.h')
-rw-r--r--arch/um/include/common-offsets.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/um/include/common-offsets.h b/arch/um/include/common-offsets.h
index b54bd35585c2..5b67d7ced2a7 100644
--- a/arch/um/include/common-offsets.h
+++ b/arch/um/include/common-offsets.h
@@ -39,3 +39,6 @@ DEFINE(UM_HZ, HZ);
DEFINE(UM_USEC_PER_SEC, USEC_PER_SEC);
DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC);
DEFINE(UM_NSEC_PER_USEC, NSEC_PER_USEC);
+
+/* See as-layout.h for an explanation of the "- 1". Bah. */
+DEFINE(UM_TASK_SIZE, TASK_SIZE - 1);