Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200815
b: refs/heads/master
c: 4085467
h: refs/heads/master
i:
  200813: a6fd3e8
  200811: 554dda2
  200807: 016b707
  200799: 2d8fbfa
v: v3
  • Loading branch information
Wu Zhangjin authored and Ralf Baechle committed Jul 5, 2010
1 parent a97e8a4 commit 5a83b11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aa5f858b16d44887cf8a40a746592ae08df5664a
refs/heads/master: 4085467060dc31c8d1201f69e52529a08e2c2407
4 changes: 2 additions & 2 deletions trunk/arch/mips/loongson/common/cs5536/cs5536_isa.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static void divil_lbar_enable(void)
for (offset = DIVIL_LBAR_SMB; offset <= DIVIL_LBAR_PMS; offset++) {
_rdmsr(DIVIL_MSR_REG(offset), &hi, &lo);
hi |= 0x01;
_wrmsr(DIVIL_MSR_REG(DIVIL_LBAR_SMB), hi, lo);
_wrmsr(DIVIL_MSR_REG(offset), hi, lo);
}
}

Expand All @@ -76,7 +76,7 @@ static void divil_lbar_disable(void)
for (offset = DIVIL_LBAR_SMB; offset <= DIVIL_LBAR_PMS; offset++) {
_rdmsr(DIVIL_MSR_REG(offset), &hi, &lo);
hi &= ~0x01;
_wrmsr(DIVIL_MSR_REG(DIVIL_LBAR_SMB), hi, lo);
_wrmsr(DIVIL_MSR_REG(offset), hi, lo);
}
}

Expand Down

0 comments on commit 5a83b11

Please sign in to comment.