aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/vmlinux_64.lds.S
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-21 01:34:33 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-01-27 23:18:51 -0500
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 f0f5771657dd..2fd0f7401484 100644
--- a/arch/sh/kernel/vmlinux_64.lds.S
+++ b/arch/sh/kernel/vmlinux_64.lds.S
@@ -24,7 +24,7 @@
24#include <asm/cache.h> 24#include <asm/cache.h>
25#include <asm/thread_info.h> 25#include <asm/thread_info.h>
26 26
27#define LOAD_OFFSET CONFIG_CACHED_MEMORY_OFFSET 27#define LOAD_OFFSET CONFIG_PAGE_OFFSET
28#include <asm-generic/vmlinux.lds.h> 28#include <asm-generic/vmlinux.lds.h>
29 29
30OUTPUT_ARCH(sh:sh5) 30OUTPUT_ARCH(sh:sh5)
@@ -34,7 +34,7 @@ OUTPUT_ARCH(sh:sh5)
34ENTRY(__start) 34ENTRY(__start)
35SECTIONS 35SECTIONS
36{ 36{
37 . = CONFIG_CACHED_MEMORY_OFFSET + CONFIG_MEMORY_START + PAGE_SIZE; 37 . = CONFIG_PAGE_OFFSET + CONFIG_MEMORY_START + PAGE_SIZE;
38 _text = .; /* Text and read-only data */ 38 _text = .; /* Text and read-only data */
39 39
40 .empty_zero_page : C_PHYS(.empty_zero_page) { 40 .empty_zero_page : C_PHYS(.empty_zero_page) {