[POWERPC] Fix is_power_of_4(x) compile error
[safe/jmp/linux-2.6] / arch / powerpc / mm / ppc_mmu_32.c
index ab5cd72..7cceb2c 100644 (file)
@@ -23,7 +23,6 @@
  *
  */
 
-#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/init.h>
@@ -43,13 +42,13 @@ unsigned long _SDR1;
 union ubat {                   /* BAT register values to be loaded */
        BAT     bat;
        u32     word[2];
-} BATS[4][2];                  /* 4 pairs of IBAT, DBAT */
+} BATS[8][2];                  /* 8 pairs of IBAT, DBAT */
 
 struct batrange {              /* stores address ranges mapped by BATs */
        unsigned long start;
        unsigned long limit;
        unsigned long phys;
-} bat_addrs[4];
+} bat_addrs[8];
 
 /*
  * Return PA for this VA if it is mapped by a BAT, or 0