Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6a05888d713dd915d3268000a479e38646aa423f Commit: 6a05888d713dd915d3268000a479e38646aa423f Parent: 8e8a52ed87e5b1fa60108b525774f2a28b4016d5 Author: Ralf Baechle <[EMAIL PROTECTED]> AuthorDate: Thu May 31 14:03:45 2007 +0100 Committer: Ralf Baechle <[EMAIL PROTECTED]> CommitDate: Mon Jun 11 18:20:54 2007 +0100
[MIPS] SMTC: The MT ASE requires to initialize c0_pagemask and c0_wired. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- arch/mips/kernel/traps.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 44f0a2c..a7a17eb 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -1384,6 +1384,13 @@ void __init per_cpu_trap_init(void) cpu_cache_init(); tlb_init(); #ifdef CONFIG_MIPS_MT_SMTC + } else if (!secondaryTC) { + /* + * First TC in non-boot VPE must do subset of tlb_init() + * for MMU countrol registers. + */ + write_c0_pagemask(PM_DEFAULT_MASK); + write_c0_wired(0); } #endif /* CONFIG_MIPS_MT_SMTC */ } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html