summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-03-01 10:10:25 +0000
committerSimon Marlow <marlowsd@gmail.com>2011-03-01 10:10:25 +0000
commit59977b6c7cc81777dc6f8266c68945d1ab691aec (patch)
tree8a72ed52c2bb57abdb910520627c77a46581b02c /includes
parent3da491217855adfe4eeace6493c9a625e23965ea (diff)
downloadhaskell-59977b6c7cc81777dc6f8266c68945d1ab691aec.tar.gz
GHC.Prim.threadStatus# now returns the cap number, and the value of TSO_LOCKED
Diffstat (limited to 'includes')
-rw-r--r--includes/mkDerivedConstants.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/mkDerivedConstants.c b/includes/mkDerivedConstants.c
index 41cf1d742f..b02b6c86f0 100644
--- a/includes/mkDerivedConstants.c
+++ b/includes/mkDerivedConstants.c
@@ -234,6 +234,7 @@ main(int argc, char *argv[])
field_offset(Capability, r);
field_offset(Capability, lock);
+ struct_field(Capability, no);
struct_field(Capability, mut_lists);
struct_field(Capability, context_switch);
struct_field(Capability, sparks);