| To: | ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH 3/4] Move PHY_OFFSET definition in spaces.h |
| From: | Franck Bui-Huu <vagabon.xyz@gmail.com> |
| Date: | Tue, 27 Mar 2007 11:19:39 +0200 |
| Cc: | linux-mips@linux-mips.org |
| Dkim-signature: | a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:to:cc:subject:date:message-id:x-mailer:in-reply-to:references:from; b=qe2raoOHPemPixBS+CSzorv1ipmGlMF5+tEAJzFMBfX4kEj+1SP1ZsE04603WY2nd4vNbIv83UJXx8eMSxp95eRlzm+fbVDYNoVNfm/D2Xy4QMh3fN4xzddGWexCK05L/++9os9OEiGjBOMpfNwmgtLI1FG+NscTL3ZUZv7jIUU= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:to:cc:subject:date:message-id:x-mailer:in-reply-to:references:from; b=QstGFtCrjW0zxCCuGbtyVxQtjASPcfjpWFyT2baiOOOGJ3YKXUE16qq/lcdPpCbmchh3BRz4Cg8sBCBOQL6YLIny7uhM1A6rKz6KQomwOFGhsT3BnyaTvKarC83et1R0ZPi42WE3zLgKL0KUTZT3WGr93skbABmAIB8V4tJqUxs= |
| In-reply-to: | <11749871802730-git-send-email-fbuihuu@gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <11749871802730-git-send-email-fbuihuu@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
From: Franck Bui-Huu <fbuihuu@gmail.com> Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com> --- include/asm-mips/mach-generic/spaces.h | 6 ++++++ include/asm-mips/page.h | 11 ++--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/include/asm-mips/mach-generic/spaces.h b/include/asm-mips/mach-generic/spaces.h index 512bca5..8b5e432 100644 --- a/include/asm-mips/mach-generic/spaces.h +++ b/include/asm-mips/mach-generic/spaces.h @@ -10,6 +10,12 @@ #ifndef _ASM_MACH_GENERIC_SPACES_H #define _ASM_MACH_GENERIC_SPACES_H +/* + * This gives the physical RAM offset. + */ +#ifndef PHYS_OFFSET +#define PHYS_OFFSET 0UL +#endif #ifdef CONFIG_32BIT diff --git a/include/asm-mips/page.h b/include/asm-mips/page.h index d3fbd83..cc28a4f 100644 --- a/include/asm-mips/page.h +++ b/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 <linux/pfn.h> +#include <asm/io.h> /* * It's normally defined only for FLATMEM config but it's @@ -48,9 +44,6 @@ */ #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) -#include <linux/pfn.h> -#include <asm/io.h> - extern void clear_page(void * page); extern void copy_page(void * to, void * from); -- 1.5.1.rc1.27.g1d848 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2/4] Make PAGE_OFFSET aware of PHYS_OFFSET, Franck Bui-Huu |
|---|---|
| Next by Date: | [PATCH 4/4] Fix PHYS_OFFSET for 64-bits kernels with 32-bits symbols, Franck Bui-Huu |
| Previous by Thread: | [PATCH 2/4] Make PAGE_OFFSET aware of PHYS_OFFSET, Franck Bui-Huu |
| Next by Thread: | [PATCH 4/4] Fix PHYS_OFFSET for 64-bits kernels with 32-bits symbols, Franck Bui-Huu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |