| To: | linux-mips@linux-mips.org, ralf@linux-mips.org |
|---|---|
| Subject: | Re: [PATCH 3/3] MIPS: Use C0_KScratch (if present) to hold PGD pointer. |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Tue, 21 Dec 2010 10:31:04 -0800 |
| In-reply-to: | <1292879828-20493-4-git-send-email-ddaney@caviumnetworks.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1292879828-20493-1-git-send-email-ddaney@caviumnetworks.com> <1292879828-20493-4-git-send-email-ddaney@caviumnetworks.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10 |
On 12/20/2010 01:17 PM, David Daney wrote: Decide at runtime to use either Context or KScratch to hold the PGD pointer. Signed-off-by: David Daney<ddaney@caviumnetworks.com> --- arch/mips/include/asm/mmu_context.h | 8 +-- arch/mips/kernel/traps.c | 2 +- arch/mips/mm/tlbex.c | 110 +++++++++++++++++++++++++++++++--- 3 files changed, 102 insertions(+), 18 deletions(-) [...] /* Install CPU exception handler */ diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index 6184f0a..2e15aa6 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c @@ -26,8 +26,10 @@ #include<linux/smp.h> #include<linux/string.h> #include<linux/init.h> +#include<linux/cache.h> -#include<asm/mmu_context.h> Whoops, that include should stay, it is needed for ip32. +#include<asm/cacheflush.h> +#include<asm/pgtable.h> #include<asm/war.h> #include<asm/uasm.h> [...] I will send a revised patch. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] EHCI support for on-chip PMC MSP USB controller., Greg KH |
|---|---|
| Next by Date: | RE: SMTC support status in latest git head., Anoop P.A. |
| Previous by Thread: | [PATCH 3/3] MIPS: Use C0_KScratch (if present) to hold PGD pointer., David Daney |
| Next by Thread: | [PATCH 2/3] MIPS: Add DINSM to uasm., David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |