diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-07-19 15:28:35 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-07-19 15:28:35 -0400 |
commit | c41917df8a1adde34864116ce2231a7fe308d2ff (patch) | |
tree | f0dd28ffef93117bacfbf8657ede880071de8e5d /include/asm-x86_64/system.h | |
parent | ce8c2293be47999584908069e78bf6d94beadc53 (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-x86_64/system.h')
-rw-r--r-- | include/asm-x86_64/system.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/asm-x86_64/system.h b/include/asm-x86_64/system.h index ead9f9a56234..e4f246d62c46 100644 --- a/include/asm-x86_64/system.h +++ b/include/asm-x86_64/system.h | |||
@@ -111,15 +111,6 @@ static inline void write_cr4(unsigned long val) | |||
111 | #define wbinvd() \ | 111 | #define wbinvd() \ |
112 | __asm__ __volatile__ ("wbinvd": : :"memory"); | 112 | __asm__ __volatile__ ("wbinvd": : :"memory"); |
113 | 113 | ||
114 | /* | ||
115 | * On SMP systems, when the scheduler does migration-cost autodetection, | ||
116 | * it needs a way to flush as much of the CPU's caches as possible. | ||
117 | */ | ||
118 | static inline void sched_cacheflush(void) | ||
119 | { | ||
120 | wbinvd(); | ||
121 | } | ||
122 | |||
123 | #endif /* __KERNEL__ */ | 114 | #endif /* __KERNEL__ */ |
124 | 115 | ||
125 | #define nop() __asm__ __volatile__ ("nop") | 116 | #define nop() __asm__ __volatile__ ("nop") |