From ecd9a9d782c38573689831b0eec6ee046d275446 Mon Sep 17 00:00:00 2001 From: Franck Bui-Huu Date: Mon, 4 Jun 2007 17:46:34 +0200 Subject: [PATCH] --- yaml --- r: 58639 b: refs/heads/master c: 41b0483ee54d89f9ad068ceae3c91cdc7594d050 h: refs/heads/master i: 58637: d115578cb9e5aab6a1c12ae7c373cc95073295af 58635: 628b47359a966f2066b5186eaea6e7cee6a39e72 58631: e3f9b7388a0d61e3ef8fb31841902615255c052e 58623: 0637571dd4a02ce61ea0b943dc0f66a0502e8b02 v: v3 --- [refs] | 2 +- trunk/include/asm-mips/mach-generic/spaces.h | 7 +++++++ trunk/include/asm-mips/page.h | 11 ++--------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/[refs] b/[refs] index e146a11df3f5..7f17df11a5db 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: db38501511a7513ec4f0ae9922d847c135cf3c78 +refs/heads/master: 41b0483ee54d89f9ad068ceae3c91cdc7594d050 diff --git a/trunk/include/asm-mips/mach-generic/spaces.h b/trunk/include/asm-mips/mach-generic/spaces.h index f0571b651940..c9fa4b14968d 100644 --- a/trunk/include/asm-mips/mach-generic/spaces.h +++ b/trunk/include/asm-mips/mach-generic/spaces.h @@ -12,6 +12,13 @@ #include +/* + * This gives the physical RAM offset. + */ +#ifndef PHYS_OFFSET +#define PHYS_OFFSET _AC(0, UL) +#endif + #ifdef CONFIG_32BIT #define CAC_BASE _AC(0x80000000, UL) diff --git a/trunk/include/asm-mips/page.h b/trunk/include/asm-mips/page.h index 5c3239dad0f2..c56c6a85908d 100644 --- a/trunk/include/asm-mips/page.h +++ b/trunk/include/asm-mips/page.h @@ -34,12 +34,8 @@ #ifndef __ASSEMBLY__ -/* - * This gives the physical RAM offset. - */ -#ifndef PHYS_OFFSET -#define PHYS_OFFSET 0UL -#endif +#include +#include /* * It's normally defined only for FLATMEM config but it's @@ -48,9 +44,6 @@ */ #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) -#include -#include - extern void clear_page(void * page); extern void copy_page(void * to, void * from);