diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2013-03-14 12:19:43 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2013-03-14 12:19:43 -0400 |
commit | f1b23a0fef38aabfd65a4f4eb9054d050e3c9bd6 (patch) | |
tree | e65b8137de95106f0e3ed9aa16e697a2fc3ad4c6 | |
parent | a51fba95554e70bd74308c13cf804102a99973b3 (diff) |
COMPILE BUG: No migration injection if no GPUs
-rw-r--r-- | litmus/litmus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c index 5b349c03a443..97cbe0461a93 100644 --- a/litmus/litmus.c +++ b/litmus/litmus.c | |||
@@ -375,7 +375,7 @@ asmlinkage long sys_sched_trace_event(int event, struct st_inject_args __user *_ | |||
375 | } | 375 | } |
376 | sched_trace_action(t, args.action); | 376 | sched_trace_action(t, args.action); |
377 | break; | 377 | break; |
378 | 378 | #ifdef LITMUS_AFFINITY_AWARE_GPU_ASSINGMENT | |
379 | case ST_INJECT_MIGRATION: | 379 | case ST_INJECT_MIGRATION: |
380 | if (!__args) { | 380 | if (!__args) { |
381 | retval = -EINVAL; | 381 | retval = -EINVAL; |
@@ -390,7 +390,7 @@ asmlinkage long sys_sched_trace_event(int event, struct st_inject_args __user *_ | |||
390 | sched_trace_migration(t, &mig_info); | 390 | sched_trace_migration(t, &mig_info); |
391 | } | 391 | } |
392 | break; | 392 | break; |
393 | 393 | #endif | |
394 | /**********************/ | 394 | /**********************/ |
395 | /* unsupported events */ | 395 | /* unsupported events */ |
396 | /**********************/ | 396 | /**********************/ |