Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45805
b: refs/heads/master
c: a0b6218
h: refs/heads/master
i:
  45803: 9defeb6
v: v3
  • Loading branch information
Ralf Baechle committed Jan 24, 2007
1 parent 6e9edc3 commit 578f9b1
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 89c07fd14fe857c223b042a857a08c3ea46b92eb
refs/heads/master: a0b6218037b5cf50737a7dc0fc5464ea3f8781cd
7 changes: 5 additions & 2 deletions trunk/arch/mips/kernel/smtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,12 @@ void smtc_configure_tlb(void)
* of their initialization in smtc_cpu_setup().
*/

tlbsiz = tlbsiz & 0x3f; /* MIPS32 limits TLB indices to 64 */
cpu_data[0].tlbsize = tlbsiz;
/* MIPS32 limits TLB indices to 64 */
if (tlbsiz > 64)
tlbsiz = 64;
cpu_data[0].tlbsize = current_cpu_data.tlbsize = tlbsiz;
smtc_status |= SMTC_TLB_SHARED;
local_flush_tlb_all();

printk("TLB of %d entry pairs shared by %d VPEs\n",
tlbsiz, vpes);
Expand Down

0 comments on commit 578f9b1

Please sign in to comment.