aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/kernel/vmlinux_64.lds.S
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-21 15:34:33 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 13:18:51 +0900
commit36763b22bee56713057762bb0756e8075b5bb918 (patch)
tree102bf357b56efd2299991b22a13c54467491ff7a /arch/sh/kernel/vmlinux_64.lds.S
parent6deb6f9129591a2386f5c125d54a22ab78fc8b61 (diff)
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.S4
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 f0f5771657d..2fd0f740148 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) {