From 95f567bb53b3592d722c340c56aaabd5fc78a135 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Mon, 1 Dec 2008 04:31:11 -0500 Subject: LITMUS: remove trailing whitespace for release --- litmus/ftdev.c | 2 +- litmus/litmus.c | 2 +- litmus/sched_pfair.c | 6 +++--- litmus/sched_task_trace.c | 2 +- litmus/srp.c | 8 ++++---- litmus/sync.c | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/litmus/ftdev.c b/litmus/ftdev.c index a62ccecf64..7c933ffdaa 100644 --- a/litmus/ftdev.c +++ b/litmus/ftdev.c @@ -110,7 +110,7 @@ static int ftdev_open(struct inode *in, struct file *filp) } if (ftdev->can_open && (err = ftdev->can_open(ftdev, buf_idx))) goto out; - + ftdm = ftdev->minor + buf_idx; filp->private_data = ftdm; diff --git a/litmus/litmus.c b/litmus/litmus.c index cd3c96a8f3..314bdda489 100644 --- a/litmus/litmus.c +++ b/litmus/litmus.c @@ -595,7 +595,7 @@ int switch_sched_plugin(struct sched_plugin* plugin) goto out; ret = plugin->activate_plugin(); if (0 != ret) { - printk(KERN_INFO "Can't activate %s (%d).\n", + printk(KERN_INFO "Can't activate %s (%d).\n", plugin->plugin_name, ret); plugin = &linux_sched_plugin; } diff --git a/litmus/sched_pfair.c b/litmus/sched_pfair.c index d0c06e03a7..a733c95b9a 100755 --- a/litmus/sched_pfair.c +++ b/litmus/sched_pfair.c @@ -434,7 +434,7 @@ static void schedule_next_quantum(quanta_t time) for (cpu = 0; cpu < NR_CPUS; cpu++) if (pstate[cpu]->linked) - PTRACE_TASK(pstate[cpu]->linked, + PTRACE_TASK(pstate[cpu]->linked, " linked on %d.\n", cpu); else PTRACE("(null) linked on %d.\n", cpu); @@ -511,7 +511,7 @@ static void pfair_tick(struct task_struct* t) cur = current_quantum(state); PTRACE("q %lu at %llu\n", cur, litmus_clock()); - /* Attempt to advance time. First CPU to get here + /* Attempt to advance time. First CPU to get here * will prepare the next quantum. */ time = cmpxchg(&pfair_time, @@ -551,7 +551,7 @@ static void pfair_tick(struct task_struct* t) if (state->local != current && (is_realtime(current) || is_present(state->local))) - set_tsk_need_resched(current); + set_tsk_need_resched(current); } static int safe_to_schedule(struct task_struct* t, int cpu) diff --git a/litmus/sched_task_trace.c b/litmus/sched_task_trace.c index 4b546a86d6..913d999dfe 100644 --- a/litmus/sched_task_trace.c +++ b/litmus/sched_task_trace.c @@ -148,7 +148,7 @@ feather_callback void do_sched_trace_task_switch_away(unsigned long id, unsigned } } -feather_callback void do_sched_trace_task_completion(unsigned long id, unsigned long _task, +feather_callback void do_sched_trace_task_completion(unsigned long id, unsigned long _task, unsigned long forced) { struct task_struct *t = (struct task_struct*) _task; diff --git a/litmus/srp.c b/litmus/srp.c index 6e670f9138..71639b9916 100644 --- a/litmus/srp.c +++ b/litmus/srp.c @@ -78,7 +78,7 @@ struct srp_semaphore { int cpu; /* cpu associated with this "semaphore" and resource */ }; -#define ceiling2sem(c) container_of(c, struct srp_semaphore, ceiling) +#define ceiling2sem(c) container_of(c, struct srp_semaphore, ceiling) static int srp_exceeds_ceiling(struct task_struct* first, struct srp* srp) @@ -86,7 +86,7 @@ static int srp_exceeds_ceiling(struct task_struct* first, return list_empty(&srp->ceiling) || get_rt_period(first) < system_ceiling(srp)->period || (get_rt_period(first) == system_ceiling(srp)->period && - first->pid < system_ceiling(srp)->pid) || + first->pid < system_ceiling(srp)->pid) || ceiling2sem(system_ceiling(srp))->owner == first; } @@ -176,7 +176,7 @@ static void do_srp_down(struct srp_semaphore* sem) } static void do_srp_up(struct srp_semaphore* sem) -{ +{ /* Determine new system priority ceiling for this CPU. */ WARN_ON(!in_list(&sem->ceiling.list)); if (in_list(&sem->ceiling.list)) @@ -296,7 +296,7 @@ void srp_ceiling_block(void) do_ceiling_block(tsk); TRACE_CUR("finally exceeds system ceiling.\n"); } else - TRACE_CUR("is not priority ceiling blocked\n"); + TRACE_CUR("is not priority ceiling blocked\n"); preempt_enable(); } diff --git a/litmus/sync.c b/litmus/sync.c index 8b0ebea49a..d5069f9899 100644 --- a/litmus/sync.c +++ b/litmus/sync.c @@ -44,7 +44,7 @@ static long do_release_ts(lt_t start) spin_lock_irqsave(&ts_release.wait.lock, flags); TRACE("<<<<<< synchronous task system release >>>>>>\n"); - + sched_trace_sys_release(&start); list_for_each(pos, &ts_release.wait.task_list) { t = (struct task_struct*) list_entry(pos, -- cgit v1.2.2