aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/vmlinux_64.lds.S
diff options
context:
space:
mode:
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) {