aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/kernel/octeon_switch.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/octeon_switch.S b/arch/mips/kernel/octeon_switch.S
index 590ca2d56b6a..f0a699d73627 100644
--- a/arch/mips/kernel/octeon_switch.S
+++ b/arch/mips/kernel/octeon_switch.S
@@ -80,7 +80,7 @@
801: 801:
81#if CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0 81#if CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0
82 /* Check if we need to store CVMSEG state */ 82 /* Check if we need to store CVMSEG state */
83 mfc0 t0, $11,7 /* CvmMemCtl */ 83 dmfc0 t0, $11,7 /* CvmMemCtl */
84 bbit0 t0, 6, 3f /* Is user access enabled? */ 84 bbit0 t0, 6, 3f /* Is user access enabled? */
85 85
86 /* Store the CVMSEG state */ 86 /* Store the CVMSEG state */
@@ -104,9 +104,9 @@
104 .set reorder 104 .set reorder
105 105
106 /* Disable access to CVMSEG */ 106 /* Disable access to CVMSEG */
107 mfc0 t0, $11,7 /* CvmMemCtl */ 107 dmfc0 t0, $11,7 /* CvmMemCtl */
108 xori t0, t0, 0x40 /* Bit 6 is CVMSEG user enable */ 108 xori t0, t0, 0x40 /* Bit 6 is CVMSEG user enable */
109 mtc0 t0, $11,7 /* CvmMemCtl */ 109 dmtc0 t0, $11,7 /* CvmMemCtl */
110#endif 110#endif
1113: 1113:
112 112