diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-21 09:34:33 +0300 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-28 07:18:51 +0300 |
commit | 36763b22bee56713057762bb0756e8075b5bb918 (patch) | |
tree | 102bf357b56efd2299991b22a13c54467491ff7a /arch/sh/kernel/vmlinux_64.lds.S | |
parent | 6deb6f9129591a2386f5c125d54a22ab78fc8b61 (diff) | |
download | linux-36763b22bee56713057762bb0756e8075b5bb918.tar.xz |
sh: Switch SH-5 to use CONFIG_PAGE_OFFSET.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/vmlinux_64.lds.S')
-rw-r--r-- | arch/sh/kernel/vmlinux_64.lds.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/vmlinux_64.lds.S b/arch/sh/kernel/vmlinux_64.lds.S index f0f5771657dd..2fd0f7401484 100644 --- a/arch/sh/kernel/vmlinux_64.lds.S +++ b/arch/sh/kernel/vmlinux_64.lds.S @@ -24,7 +24,7 @@ #include <asm/cache.h> #include <asm/thread_info.h> -#define LOAD_OFFSET CONFIG_CACHED_MEMORY_OFFSET +#define LOAD_OFFSET CONFIG_PAGE_OFFSET #include <asm-generic/vmlinux.lds.h> OUTPUT_ARCH(sh:sh5) @@ -34,7 +34,7 @@ OUTPUT_ARCH(sh:sh5) ENTRY(__start) SECTIONS { - . = CONFIG_CACHED_MEMORY_OFFSET + CONFIG_MEMORY_START + PAGE_SIZE; + . = CONFIG_PAGE_OFFSET + CONFIG_MEMORY_START + PAGE_SIZE; _text = .; /* Text and read-only data */ .empty_zero_page : C_PHYS(.empty_zero_page) { |