]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/mm/fault.c
powerpc/8xx: Invalidate non present TLB as early as possible
[karo-tx-linux.git] / arch / powerpc / mm / fault.c
index 08d659a9fcdbf16026e7dfc2af9306416028c671..eb79907f34fac2df170be8fcb3a14a9cbf400b1e 100644 (file)
@@ -43,7 +43,6 @@
 #include <asm/tlbflush.h>
 #include <asm/siginfo.h>
 #include <asm/debug.h>
-#include <mm/mmu_decl.h>
 
 #include "icswx.h"
 
@@ -380,12 +379,6 @@ good_area:
                goto bad_area;
 #endif /* CONFIG_6xx */
 #if defined(CONFIG_8xx)
-       /* 8xx sometimes need to load a invalid/non-present TLBs.
-        * These must be invalidated separately as linux mm don't.
-        */
-       if (error_code & 0x40000000) /* no translation? */
-               _tlbil_va(address, 0, 0, 0);
-
         /* The MPC8xx seems to always set 0x80000000, which is
          * "undefined".  Of those that can be set, this is the only
          * one which seems bad.