diff options
Diffstat (limited to 'include/asm-sparc64/system.h')
-rw-r--r-- | include/asm-sparc64/system.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/asm-sparc64/system.h b/include/asm-sparc64/system.h index 8ba380ec6daa..64891cb10f05 100644 --- a/include/asm-sparc64/system.h +++ b/include/asm-sparc64/system.h | |||
@@ -115,14 +115,8 @@ do { __asm__ __volatile__("ba,pt %%xcc, 1f\n\t" \ | |||
115 | #ifndef __ASSEMBLY__ | 115 | #ifndef __ASSEMBLY__ |
116 | 116 | ||
117 | extern void sun_do_break(void); | 117 | extern void sun_do_break(void); |
118 | extern int serial_console; | ||
119 | extern int stop_a_enabled; | 118 | extern int stop_a_enabled; |
120 | 119 | ||
121 | static __inline__ int con_is_present(void) | ||
122 | { | ||
123 | return serial_console ? 0 : 1; | ||
124 | } | ||
125 | |||
126 | extern void synchronize_user_stack(void); | 120 | extern void synchronize_user_stack(void); |
127 | 121 | ||
128 | extern void __flushw_user(void); | 122 | extern void __flushw_user(void); |
@@ -204,16 +198,6 @@ do { if (test_thread_flag(TIF_PERFCTR)) { \ | |||
204 | } \ | 198 | } \ |
205 | } while(0) | 199 | } while(0) |
206 | 200 | ||
207 | /* | ||
208 | * On SMP systems, when the scheduler does migration-cost autodetection, | ||
209 | * it needs a way to flush as much of the CPU's caches as possible. | ||
210 | * | ||
211 | * TODO: fill this in! | ||
212 | */ | ||
213 | static inline void sched_cacheflush(void) | ||
214 | { | ||
215 | } | ||
216 | |||
217 | static inline unsigned long xchg32(__volatile__ unsigned int *m, unsigned int val) | 201 | static inline unsigned long xchg32(__volatile__ unsigned int *m, unsigned int val) |
218 | { | 202 | { |
219 | unsigned long tmp1, tmp2; | 203 | unsigned long tmp1, tmp2; |