Re: BFS 420: remove resched_cpu

From: Hillf Danton
Date: Wed May 23 2012 - 08:57:52 EST


It is no longer used, so remove.

--- a/kernel/sched/bfs.c Mon May 14 20:50:38 2012
+++ b/kernel/sched/bfs.c Wed May 23 20:07:50 2012
@@ -4988,14 +4988,6 @@ static inline struct sched_domain *lowes

#endif /* (CONFIG_SCHED_MC || CONFIG_SCHED_SMT) */

-static inline void resched_cpu(int cpu)
-{
- unsigned long flags;
-
- grq_lock_irqsave(&flags);
- resched_task(cpu_curr(cpu));
- grq_unlock_irqrestore(&flags);
-}

/*
* In the semi idle case, use the nearest busy cpu for migrating timers
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/