From f7e2bddcd1ff1b651f212f7f8919105597de0c2d Mon Sep 17 00:00:00 2001 From: Glenn Elliott Date: Mon, 31 Jan 2011 17:40:05 -0500 Subject: Make it easier to compile AEDZL interfaces in liblitmus. --- include/litmus/fpmath.h | 4 ---- include/litmus/rt_param.h | 12 ++++-------- 2 files changed, 4 insertions(+), 12 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 @@ #ifndef __FP_MATH_H__ #define __FP_MATH_H__ -#ifdef CONFIG_PLUGIN_AEDZL -#include -#else typedef long fpbuf_t; typedef struct { fpbuf_t val; } fp_t; -#endif #define FP_SHIFT 10 #define ROUND_BIT (FP_SHIFT - 1) diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h index 41ac654dd27e..e746dfc1a185 100644 --- a/include/litmus/rt_param.h +++ b/include/litmus/rt_param.h @@ -5,6 +5,10 @@ #ifndef _LINUX_RT_PARAM_H_ #define _LINUX_RT_PARAM_H_ +#ifdef CONFIG_PLUGIN_AEDZL +#include +#endif + /* Litmus time type. */ typedef unsigned long long lt_t; @@ -33,14 +37,6 @@ typedef enum { PRECISE_ENFORCEMENT /* NOT IMPLEMENTED - enforced with hrtimers */ } budget_policy_t; -#ifdef CONFIG_PLUGIN_AEDZL -typedef long fpbuf_t; -typedef struct -{ - fpbuf_t val; -} fp_t; -#endif - struct rt_task { lt_t exec_cost; lt_t period; -- cgit v1.2.2