aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/branch.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/branch.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/branch.c')
-rw-r--r--arch/mips/kernel/branch.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/kernel/branch.c b/arch/mips/kernel/branch.c
index 4d735d0e58f5..83ffe950f710 100644
--- a/arch/mips/kernel/branch.c
+++ b/arch/mips/kernel/branch.c
@@ -57,7 +57,7 @@ int __compute_return_epc_for_insn(struct pt_regs *regs,
57 */ 57 */
58 case bcond_op: 58 case bcond_op:
59 switch (insn.i_format.rt) { 59 switch (insn.i_format.rt) {
60 case bltz_op: 60 case bltz_op:
61 case bltzl_op: 61 case bltzl_op:
62 if ((long)regs->regs[insn.i_format.rs] < 0) { 62 if ((long)regs->regs[insn.i_format.rs] < 0) {
63 epc = epc + 4 + (insn.i_format.simmediate << 2); 63 epc = epc + 4 + (insn.i_format.simmediate << 2);
@@ -197,8 +197,8 @@ int __compute_return_epc_for_insn(struct pt_regs *regs,
197 bit += (bit != 0); 197 bit += (bit != 0);
198 bit += 23; 198 bit += 23;
199 switch (insn.i_format.rt & 3) { 199 switch (insn.i_format.rt & 3) {
200 case 0: /* bc1f */ 200 case 0: /* bc1f */
201 case 2: /* bc1fl */ 201 case 2: /* bc1fl */
202 if (~fcr31 & (1 << bit)) { 202 if (~fcr31 & (1 << bit)) {
203 epc = epc + 4 + (insn.i_format.simmediate << 2); 203 epc = epc + 4 + (insn.i_format.simmediate << 2);
204 if (insn.i_format.rt == 2) 204 if (insn.i_format.rt == 2)
@@ -208,8 +208,8 @@ int __compute_return_epc_for_insn(struct pt_regs *regs,
208 regs->cp0_epc = epc; 208 regs->cp0_epc = epc;
209 break; 209 break;
210 210
211 case 1: /* bc1t */ 211 case 1: /* bc1t */
212 case 3: /* bc1tl */ 212 case 3: /* bc1tl */
213 if (fcr31 & (1 << bit)) { 213 if (fcr31 & (1 << bit)) {
214 epc = epc + 4 + (insn.i_format.simmediate << 2); 214 epc = epc + 4 + (insn.i_format.simmediate << 2);
215 if (insn.i_format.rt == 3) 215 if (insn.i_format.rt == 3)