]> err.no Git - linux-2.6/blobdiff - include/asm-ppc/mmu_context.h
netfilter: nf_nat_snmp_basic: fix a range check in NAT for SNMP
[linux-2.6] / include / asm-ppc / mmu_context.h
index 2bc8589cc45130b9f223f0fb172dbb1b5a12894c..9f097e25b169bbba0940f4745cffdfa544ccfa98 100644 (file)
@@ -2,10 +2,12 @@
 #ifndef __PPC_MMU_CONTEXT_H
 #define __PPC_MMU_CONTEXT_H
 
+#include <linux/bitops.h>
+
 #include <asm/atomic.h>
-#include <asm/bitops.h>
 #include <asm/mmu.h>
 #include <asm/cputable.h>
+#include <asm-generic/mm_hooks.h>
 
 /*
  * On 32-bit PowerPC 6xx/7xx/7xxx CPUs, we use a set of 16 VSIDs
@@ -62,11 +64,6 @@ static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
 #define LAST_CONTEXT           255
 #define FIRST_CONTEXT          1
 
-#elif defined(CONFIG_E200) || defined(CONFIG_E500)
-#define NO_CONTEXT             256
-#define LAST_CONTEXT           255
-#define FIRST_CONTEXT          1
-
 #else
 
 /* PPC 6xx, 7xx CPUs */