Re: [PATCH 3/3] MIPS: Use C0_KScratch (if present) to hold PGD pointer.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
---
  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.



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux