diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-09-21 23:25:14 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-09-21 23:25:14 -0400 |
commit | c157675b9d4ceb268e38cc80e99c46d73042d409 (patch) | |
tree | 948f98e4e2abf0a083855c8ae7884a59c2bdbaf3 /include/litmus/rt_param.h | |
parent | 7b4a10031257415b0ff1c03a77ac33555eeed8fe (diff) |
EDF-WM: add parameter checking to wm_admit_task
Diffstat (limited to 'include/litmus/rt_param.h')
-rw-r--r-- | include/litmus/rt_param.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h index f0b7b1c54134..65d2d7c7b783 100644 --- a/include/litmus/rt_param.h +++ b/include/litmus/rt_param.h | |||
@@ -40,6 +40,7 @@ typedef enum { | |||
40 | * is called a 'slice'. | 40 | * is called a 'slice'. |
41 | */ | 41 | */ |
42 | #define MAX_EDF_WM_SLICES NR_CPUS | 42 | #define MAX_EDF_WM_SLICES NR_CPUS |
43 | #define MIN_EDF_WM_SLICE_SIZE 1000000 /* 1 millisecond */ | ||
43 | 44 | ||
44 | struct edf_wm_slice { | 45 | struct edf_wm_slice { |
45 | /* on which CPU is this slice allocated */ | 46 | /* on which CPU is this slice allocated */ |