lkml.org 
[lkml]   [2004]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH][TRIVIAL] sched.c whitespace mangler
Attack of the whitespace mangler in sched.c. Convert spaces to tabs.


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);
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.115 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site