fix ar7 compile
[openwrt/svn-archive/archive.git] / target / linux / ar7-2.6 / files / include / asm-mips / ar7 / spaces.h
index 367fe2d344b731fd4ae4bd26c7d28ce2a23291a5..4e082f824f6a7112f80cd1161cd5f9128aece404 100644 (file)
@@ -10,7 +10,6 @@
 #ifndef _ASM_AR7_SPACES_H
 #define _ASM_AR7_SPACES_H
 
-
 #define CAC_BASE               0x80000000
 #define IO_BASE                        0xa0000000
 #define UNCAC_BASE             0xa0000000
@@ -21,7 +20,7 @@
  * We handle pages at KSEG0 for kernels with 32 bit address space.
  */
 #define PAGE_OFFSET            0x80000000UL
-#define ARCH_PFN_OFFSET        (0x14000000 >> PAGE_SHIFT)
+#define PHYS_OFFSET    0x14000000UL
 
 /*
  * Memory above this physical address will be considered highmem.