diff options
Diffstat (limited to 'arch/mips/kernel/r4k_switch.S')
| -rw-r--r-- | arch/mips/kernel/r4k_switch.S | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/mips/kernel/r4k_switch.S b/arch/mips/kernel/r4k_switch.S index db94e556fc97..d5c8b82fed72 100644 --- a/arch/mips/kernel/r4k_switch.S +++ b/arch/mips/kernel/r4k_switch.S | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | * Copyright (C) 2000 MIPS Technologies, Inc. | 10 | * Copyright (C) 2000 MIPS Technologies, Inc. |
| 11 | * written by Carsten Langgaard, carstenl@mips.com | 11 | * written by Carsten Langgaard, carstenl@mips.com |
| 12 | */ | 12 | */ |
| 13 | #include <linux/config.h> | ||
| 14 | #include <asm/asm.h> | 13 | #include <asm/asm.h> |
| 15 | #include <asm/cachectl.h> | 14 | #include <asm/cachectl.h> |
| 16 | #include <asm/fpregdef.h> | 15 | #include <asm/fpregdef.h> |
| @@ -94,7 +93,7 @@ | |||
| 94 | ori t1, t2, TCSTATUS_IXMT | 93 | ori t1, t2, TCSTATUS_IXMT |
| 95 | mtc0 t1, CP0_TCSTATUS | 94 | mtc0 t1, CP0_TCSTATUS |
| 96 | andi t2, t2, TCSTATUS_IXMT | 95 | andi t2, t2, TCSTATUS_IXMT |
| 97 | ehb | 96 | _ehb |
| 98 | DMT 8 # dmt t0 | 97 | DMT 8 # dmt t0 |
| 99 | move t1,ra | 98 | move t1,ra |
| 100 | jal mips_ihb | 99 | jal mips_ihb |
| @@ -109,7 +108,7 @@ | |||
| 109 | or a2, t1 | 108 | or a2, t1 |
| 110 | mtc0 a2, CP0_STATUS | 109 | mtc0 a2, CP0_STATUS |
| 111 | #ifdef CONFIG_MIPS_MT_SMTC | 110 | #ifdef CONFIG_MIPS_MT_SMTC |
| 112 | ehb | 111 | _ehb |
| 113 | andi t0, t0, VPECONTROL_TE | 112 | andi t0, t0, VPECONTROL_TE |
| 114 | beqz t0, 1f | 113 | beqz t0, 1f |
| 115 | emt | 114 | emt |
| @@ -118,7 +117,7 @@ | |||
| 118 | xori t1, t1, TCSTATUS_IXMT | 117 | xori t1, t1, TCSTATUS_IXMT |
| 119 | or t1, t1, t2 | 118 | or t1, t1, t2 |
| 120 | mtc0 t1, CP0_TCSTATUS | 119 | mtc0 t1, CP0_TCSTATUS |
| 121 | ehb | 120 | _ehb |
| 122 | #endif /* CONFIG_MIPS_MT_SMTC */ | 121 | #endif /* CONFIG_MIPS_MT_SMTC */ |
| 123 | move v0, a0 | 122 | move v0, a0 |
| 124 | jr ra | 123 | jr ra |
