aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-07-19 15:28:35 -0400
committerIngo Molnar <mingo@elte.hu>2007-07-19 15:28:35 -0400
commitc41917df8a1adde34864116ce2231a7fe308d2ff (patch)
treef0dd28ffef93117bacfbf8657ede880071de8e5d /include/asm-ppc
parentce8c2293be47999584908069e78bf6d94beadc53 (diff)
[PATCH] sched: sched_cacheflush is now unused
Since Ingo's recent scheduler rewrite which was merged as commit 0437e109e1841607f2988891eaa36c531c6aa6ac sched_cacheflush is unused. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r--include/asm-ppc/system.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/asm-ppc/system.h b/include/asm-ppc/system.h
index d84a3cf4d033..f1311a8f310f 100644
--- a/include/asm-ppc/system.h
+++ b/include/asm-ppc/system.h
@@ -129,16 +129,6 @@ extern struct task_struct *__switch_to(struct task_struct *,
129 struct task_struct *); 129 struct task_struct *);
130#define switch_to(prev, next, last) ((last) = __switch_to((prev), (next))) 130#define switch_to(prev, next, last) ((last) = __switch_to((prev), (next)))
131 131
132/*
133 * On SMP systems, when the scheduler does migration-cost autodetection,
134 * it needs a way to flush as much of the CPU's caches as possible.
135 *
136 * TODO: fill this in!
137 */
138static inline void sched_cacheflush(void)
139{
140}
141
142struct thread_struct; 132struct thread_struct;
143extern struct task_struct *_switch(struct thread_struct *prev, 133extern struct task_struct *_switch(struct thread_struct *prev,
144 struct thread_struct *next); 134 struct thread_struct *next);