[PATCH][TRIVIAL] sched.c whitespace mangler

Con Kolivas
2004-11-06T09:40:23Z

[-- Attachment #1.1: Type: text/plain, Size: 71 bytes --]

Attack of the whitespace mangler in sched.c. Convert spaces to tabs.

[-- Attachment #1.2: fix_whitespace.diff --]
[-- Type: text/x-patch, Size: 2544 bytes --]

Convert whitespace in sched.c to tabs

Signed-off-by: Con Kolivas <kernel@kolivas.org>

Index: linux-2.6.10-rc1-mm3/kernel/sched.c
===================================================================
--- linux-2.6.10-rc1-mm3.orig/kernel/sched.c 2004-11-06 20:31:29.383223089 +1100
+++ linux-2.6.10-rc1-mm3/kernel/sched.c 2004-11-06 20:34:55.658218461 +1100
@@ -1138,7 +1138,7 @@ out:
int fastcall wake_up_process(task_t * p)
{
return try_to_wake_up(p, TASK_STOPPED | TASK_TRACED |
- TASK_INTERRUPTIBLE | TASK_UNINTERRUPTIBLE, 0);
+ TASK_INTERRUPTIBLE | TASK_UNINTERRUPTIBLE, 0);
}

EXPORT_SYMBOL(wake_up_process);
@@ -2019,7 +2019,7 @@ static int load_balance(int this_cpu, ru
if (sd->balance_interval < sd->max_interval)
sd->balance_interval++;
} else {
- sd->nr_balance_failed = 0;
+ sd->nr_balance_failed = 0;

/* We were unbalanced, so reset the balancing interval */
sd->balance_interval = sd->min_interval;
@@ -3148,7 +3148,7 @@ EXPORT_SYMBOL(set_user_nice);
#ifdef CONFIG_KGDB
struct task_struct *kgdb_get_idle(int this_cpu)
{
- return cpu_rq(this_cpu)->idle;
+ return cpu_rq(this_cpu)->idle;
}
#endif

@@ -4992,30 +4992,30 @@ void destroy_sched_domain_sysctl()
#ifdef CONFIG_MAGIC_SYSRQ
void normalize_rt_tasks(void)
{
- struct task_struct *p;
- prio_array_t *array;
- unsigned long flags;
- runqueue_t *rq;
-
- read_lock_irq(&tasklist_lock);
- for_each_process (p) {
- if (!rt_task(p))
- continue;
-
- rq = task_rq_lock(p, &flags);
-
- array = p->array;
- if (array)
- deactivate_task(p, task_rq(p));
- __setscheduler(p, SCHED_NORMAL, 0);
- if (array) {
- __activate_task(p, task_rq(p));
- resched_task(rq->curr);
- }
-
- task_rq_unlock(rq, &flags);
- }
- read_unlock_irq(&tasklist_lock);
+ struct task_struct *p;
+ prio_array_t *array;
+ unsigned long flags;
+ runqueue_t *rq;
+
+ read_lock_irq(&tasklist_lock);
+ for_each_process (p) {
+ if (!rt_task(p))
+ continue;
+
+ rq = task_rq_lock(p, &flags);
+
+ array = p->array;
+ if (array)
+ deactivate_task(p, task_rq(p));
+ __setscheduler(p, SCHED_NORMAL, 0);
+ if (array) {
+ __activate_task(p, task_rq(p));
+ resched_task(rq->curr);
+ }
+
+ task_rq_unlock(rq, &flags);
+ }
+ read_unlock_irq(&tasklist_lock);
}

EXPORT_SYMBOL(normalize_rt_tasks);

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]