summaryrefslogtreecommitdiff
path: root/target/linux/ar7-2.6/files/include/asm-mips/ar7/spaces.h
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-24 15:59:32 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-24 15:59:32 +0000
commit3f52da61813f2c0ffdd62d663b705ae04f3a74e9 (patch)
tree0b11e7fab11a37bb4c0dd5886fb41ac8e3fe5846 /target/linux/ar7-2.6/files/include/asm-mips/ar7/spaces.h
parentf0cc040988617eacc9d7e950fe43b75399050501 (diff)
fix ar7 compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7331 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7-2.6/files/include/asm-mips/ar7/spaces.h')
-rw-r--r--target/linux/ar7-2.6/files/include/asm-mips/ar7/spaces.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ar7-2.6/files/include/asm-mips/ar7/spaces.h b/target/linux/ar7-2.6/files/include/asm-mips/ar7/spaces.h
index 367fe2d344..4e082f824f 100644
--- a/target/linux/ar7-2.6/files/include/asm-mips/ar7/spaces.h
+++ b/target/linux/ar7-2.6/files/include/asm-mips/ar7/spaces.h
@@ -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.