diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-07-21 07:35:24 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-07-21 07:35:24 -0400 |
commit | 85cc826d76ad8bcfeb675710c49c410583cc86a9 (patch) | |
tree | 95ddb4d1d985b19f05505351d045f453ca0cc9b2 | |
parent | 068cfc3f190cb901c9ab36e76db01bb09373e0f9 (diff) |
Switch NP flag format back to 32 bits (uint32_t)2013.1
This matches the corresponding change in the kernel.
-rw-r--r-- | src/kernel_iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel_iface.c b/src/kernel_iface.c index 98449b0..ca874ff 100644 --- a/src/kernel_iface.c +++ b/src/kernel_iface.c | |||
@@ -88,7 +88,7 @@ int init_kernel_iface(void) | |||
88 | long page_size = sysconf(_SC_PAGESIZE); | 88 | long page_size = sysconf(_SC_PAGESIZE); |
89 | void* mapped_at = NULL; | 89 | void* mapped_at = NULL; |
90 | 90 | ||
91 | BUILD_BUG_ON(sizeof(union np_flag) != sizeof(uint64_t)); | 91 | BUILD_BUG_ON(sizeof(union np_flag) != sizeof(uint32_t)); |
92 | 92 | ||
93 | BUILD_BUG_ON(offsetof(struct control_page, sched.raw) | 93 | BUILD_BUG_ON(offsetof(struct control_page, sched.raw) |
94 | != LITMUS_CP_OFFSET_SCHED); | 94 | != LITMUS_CP_OFFSET_SCHED); |