aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-04-27 19:52:34 -0400
committerGlenn Elliott <gelliott@cs.unc.edu>2012-04-27 19:52:34 -0400
commitaf6eeb156c7da47ff5df03a3da04432c8ac4460c (patch)
treefd141359332b95dcb2260cbf3704c70c32f96e68 /include/litmus
parent52056e94a94517e250f7f4e36e7470a4b002404e (diff)
fix minor bugs. there is still a bug in GEDF PAI.
Diffstat (limited to 'include/litmus')
-rw-r--r--include/litmus/fpmath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/litmus/fpmath.h b/include/litmus/fpmath.h
index ba4121eaa1bf..04d4bcaeae96 100644
--- a/include/litmus/fpmath.h
+++ b/include/litmus/fpmath.h
@@ -19,8 +19,10 @@ typedef struct
19 19
20#define _fp(x) ((fp_t) {x}) 20#define _fp(x) ((fp_t) {x})
21 21
22#ifdef __KERNEL__
22static const fp_t LITMUS_FP_ZERO = {.val = 0}; 23static const fp_t LITMUS_FP_ZERO = {.val = 0};
23static const fp_t LITMUS_FP_ONE = {.val = (1 << FP_SHIFT)}; 24static const fp_t LITMUS_FP_ONE = {.val = (1 << FP_SHIFT)};
25#endif
24 26
25static inline fp_t FP(fpbuf_t x) 27static inline fp_t FP(fpbuf_t x)
26{ 28{