From 906cef97efb7c5fba7932430dca76e9f86e0d1a8 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Wed, 29 Jun 2005 10:43:51 +0000 Subject: [PATCH] --- yaml --- r: 11121 b: refs/heads/master c: 4c0a2d4275b6993066810c42c4c6b0729d3b67a9 h: refs/heads/master i: 11119: abdb6f20277e193335404b659fed2580e57ec75f v: v3 --- [refs] | 2 +- trunk/arch/mips/mm/tlbex.c | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 71ba4e064bc8..f24cc2102d0f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 41986a6e7ea3b3acb452d00d56acda7c63761736 +refs/heads/master: 4c0a2d4275b6993066810c42c4c6b0729d3b67a9 diff --git a/trunk/arch/mips/mm/tlbex.c b/trunk/arch/mips/mm/tlbex.c index c7b3bf22bf3f..19bf0cc40917 100644 --- a/trunk/arch/mips/mm/tlbex.c +++ b/trunk/arch/mips/mm/tlbex.c @@ -1238,8 +1238,15 @@ static void __init build_r4000_tlb_refill_handler(void) { int i; + f = final_handler; +#ifdef CONFIG_64BIT + if (final_len > 32) + final_len = 64; + else + f = final_handler + 32; +#endif /* CONFIG_64BIT */ for (i = 0; i < final_len; i++) - printk("%08x\n", final_handler[i]); + printk("%08x\n", f[i]); } #endif