|
@@ -80,7 +80,7 @@
|
|
|
1:
|
|
|
#if CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0
|
|
|
/* Check if we need to store CVMSEG state */
|
|
|
- mfc0 t0, $11,7 /* CvmMemCtl */
|
|
|
+ dmfc0 t0, $11,7 /* CvmMemCtl */
|
|
|
bbit0 t0, 6, 3f /* Is user access enabled? */
|
|
|
|
|
|
/* Store the CVMSEG state */
|
|
@@ -104,9 +104,9 @@
|
|
|
.set reorder
|
|
|
|
|
|
/* Disable access to CVMSEG */
|
|
|
- mfc0 t0, $11,7 /* CvmMemCtl */
|
|
|
+ dmfc0 t0, $11,7 /* CvmMemCtl */
|
|
|
xori t0, t0, 0x40 /* Bit 6 is CVMSEG user enable */
|
|
|
- mtc0 t0, $11,7 /* CvmMemCtl */
|
|
|
+ dmtc0 t0, $11,7 /* CvmMemCtl */
|
|
|
#endif
|
|
|
3:
|
|
|
|