aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/cpu-bugs64.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-01-22 06:59:30 -0500
committerRalf Baechle <ralf@linux-mips.org>2013-02-01 04:00:22 -0500
commit7034228792cc561e79ff8600f02884bd4c80e287 (patch)
tree89b77af37d087d9de236fc5d21f60bf552d0a2c6 /arch/mips/kernel/cpu-bugs64.c
parent405ab01c70e18058d9c01a1256769a61fc65413e (diff)
MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this once and for all rather than dealing with this kind of patches trickling in forever. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cpu-bugs64.c')
-rw-r--r--arch/mips/kernel/cpu-bugs64.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/kernel/cpu-bugs64.c b/arch/mips/kernel/cpu-bugs64.c
index d6a18644365a..de3c25ffd9f9 100644
--- a/arch/mips/kernel/cpu-bugs64.c
+++ b/arch/mips/kernel/cpu-bugs64.c
@@ -84,9 +84,9 @@ static inline void mult_sh_align_mod(long *v1, long *v2, long *w,
84 ".set noreorder\n\t" 84 ".set noreorder\n\t"
85 ".set nomacro\n\t" 85 ".set nomacro\n\t"
86 "mult %2, %3\n\t" 86 "mult %2, %3\n\t"
87 "dsll32 %0, %4, %5\n\t" 87 "dsll32 %0, %4, %5\n\t"
88 "mflo $0\n\t" 88 "mflo $0\n\t"
89 "dsll32 %1, %4, %5\n\t" 89 "dsll32 %1, %4, %5\n\t"
90 "nop\n\t" 90 "nop\n\t"
91 ".set pop" 91 ".set pop"
92 : "=&r" (lv1), "=r" (lw) 92 : "=&r" (lv1), "=r" (lw)
@@ -239,7 +239,7 @@ static inline void check_daddi(void)
239 panic(bug64hit, !DADDI_WAR ? daddiwar : nowar); 239 panic(bug64hit, !DADDI_WAR ? daddiwar : nowar);
240} 240}
241 241
242int daddiu_bug = -1; 242int daddiu_bug = -1;
243 243
244static inline void check_daddiu(void) 244static inline void check_daddiu(void)
245{ 245{
@@ -273,7 +273,7 @@ static inline void check_daddiu(void)
273#ifdef HAVE_AS_SET_DADDI 273#ifdef HAVE_AS_SET_DADDI
274 ".set daddi\n\t" 274 ".set daddi\n\t"
275#endif 275#endif
276 "daddiu %0, %2, %4\n\t" 276 "daddiu %0, %2, %4\n\t"
277 "addiu %1, $0, %4\n\t" 277 "addiu %1, $0, %4\n\t"
278 "daddu %1, %2\n\t" 278 "daddu %1, %2\n\t"
279 ".set pop" 279 ".set pop"
@@ -292,7 +292,7 @@ static inline void check_daddiu(void)
292 asm volatile( 292 asm volatile(
293 "addiu %2, $0, %3\n\t" 293 "addiu %2, $0, %3\n\t"
294 "dsrl %2, %2, 1\n\t" 294 "dsrl %2, %2, 1\n\t"
295 "daddiu %0, %2, %4\n\t" 295 "daddiu %0, %2, %4\n\t"
296 "addiu %1, $0, %4\n\t" 296 "addiu %1, $0, %4\n\t"
297 "daddu %1, %2" 297 "daddu %1, %2"
298 : "=&r" (v), "=&r" (w), "=&r" (tmp) 298 : "=&r" (v), "=&r" (w), "=&r" (tmp)