diff options
Diffstat (limited to 'arch/sh/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/sh/kernel/vmlinux.lds.S | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S index 0e66c7b30e0f..7f8a709c3ada 100644 --- a/arch/sh/kernel/vmlinux.lds.S +++ b/arch/sh/kernel/vmlinux.lds.S | |||
@@ -14,11 +14,10 @@ OUTPUT_ARCH(sh) | |||
14 | #include <asm/cache.h> | 14 | #include <asm/cache.h> |
15 | #include <asm/vmlinux.lds.h> | 15 | #include <asm/vmlinux.lds.h> |
16 | 16 | ||
17 | #if defined(CONFIG_29BIT) || defined(CONFIG_SUPERH64) || \ | 17 | #ifdef CONFIG_PMB |
18 | defined(CONFIG_PMB_LEGACY) | 18 | #define MEMORY_OFFSET 0 |
19 | #define MEMORY_OFFSET __MEMORY_START | ||
20 | #else | 19 | #else |
21 | #define MEMORY_OFFSET 0 | 20 | #define MEMORY_OFFSET __MEMORY_START |
22 | #endif | 21 | #endif |
23 | 22 | ||
24 | ENTRY(_start) | 23 | ENTRY(_start) |