aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/fpmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/litmus/fpmath.h')
-rw-r--r--include/litmus/fpmath.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/litmus/fpmath.h b/include/litmus/fpmath.h
index 9a2519523fd5..e1450e22842b 100644
--- a/include/litmus/fpmath.h
+++ b/include/litmus/fpmath.h
@@ -1,15 +1,11 @@
1#ifndef __FP_MATH_H__ 1#ifndef __FP_MATH_H__
2#define __FP_MATH_H__ 2#define __FP_MATH_H__
3 3
4#ifdef CONFIG_PLUGIN_AEDZL
5#include <litmus/rt_param.h>
6#else
7typedef long fpbuf_t; 4typedef long fpbuf_t;
8typedef struct 5typedef struct
9{ 6{
10 fpbuf_t val; 7 fpbuf_t val;
11} fp_t; 8} fp_t;
12#endif
13 9
14#define FP_SHIFT 10 10#define FP_SHIFT 10
15#define ROUND_BIT (FP_SHIFT - 1) 11#define ROUND_BIT (FP_SHIFT - 1)