aboutsummaryrefslogtreecommitdiffstats
path: root/litmus
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2010-05-30 18:59:30 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2010-05-30 20:43:27 -0400
commit5b54b24c13b7c5dbaa06eae5e1a0075da354289c (patch)
tree6d871120ce501f936e26e6494c44ca26545b29f7 /litmus
parent152968b15afb74a6adba6d512c5eebf0280c8f00 (diff)
Make compilation of C-EDF optional.
C-EDF only makes sense on multicore platforms that have shared caches. Make it possible to disable it on other platforms, in particular, on those that do not export get_shared_cpu_map().
Diffstat (limited to 'litmus')
-rw-r--r--litmus/Kconfig13
-rw-r--r--litmus/Makefile3
2 files changed, 15 insertions, 1 deletions
diff --git a/litmus/Kconfig b/litmus/Kconfig
index 874794f64af1..cc49e1a7f9c7 100644
--- a/litmus/Kconfig
+++ b/litmus/Kconfig
@@ -1,5 +1,18 @@
1menu "LITMUS^RT" 1menu "LITMUS^RT"
2 2
3menu "Plugins"
4
5config PLUGIN_CEDF
6 bool "Clustered-EDF"
7 default y
8 help
9 Include the Clustered EDF (C-EDF) plugin in the kernel.
10 This is appropriate for large platforms with shared caches.
11 On smaller platforms (e.g., ARM PB11MPCore), using C-EDF
12 makes little sense since there aren't any shared caches.
13
14endmenu
15
3menu "Real-Time Synchronization" 16menu "Real-Time Synchronization"
4 17
5config NP_SECTION 18config NP_SECTION
diff --git a/litmus/Makefile b/litmus/Makefile
index 0cc33e8bee51..e581e87213c2 100644
--- a/litmus/Makefile
+++ b/litmus/Makefile
@@ -14,9 +14,10 @@ obj-y = sched_plugin.o litmus.o \
14 ctrldev.o \ 14 ctrldev.o \
15 sched_gsn_edf.o \ 15 sched_gsn_edf.o \
16 sched_psn_edf.o \ 16 sched_psn_edf.o \
17 sched_cedf.o \
18 sched_pfair.o 17 sched_pfair.o
19 18
19obj-$(CONFIG_PLUGIN_CEDF) += sched_cedf.o
20
20obj-$(CONFIG_FEATHER_TRACE) += ft_event.o ftdev.o 21obj-$(CONFIG_FEATHER_TRACE) += ft_event.o ftdev.o
21obj-$(CONFIG_SCHED_TASK_TRACE) += sched_task_trace.o 22obj-$(CONFIG_SCHED_TASK_TRACE) += sched_task_trace.o
22obj-$(CONFIG_SCHED_DEBUG_TRACE) += sched_trace.o 23obj-$(CONFIG_SCHED_DEBUG_TRACE) += sched_trace.o