diff options
Diffstat (limited to 'arch/xtensa/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/xtensa/kernel/vmlinux.lds.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/vmlinux.lds.S b/arch/xtensa/kernel/vmlinux.lds.S index d506774f4b05..c1be9a4a740c 100644 --- a/arch/xtensa/kernel/vmlinux.lds.S +++ b/arch/xtensa/kernel/vmlinux.lds.S | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <asm-generic/vmlinux.lds.h> | 17 | #include <asm-generic/vmlinux.lds.h> |
18 | 18 | ||
19 | #include <variant/core.h> | 19 | #include <variant/core.h> |
20 | #include <platform/hardware.h> | ||
20 | OUTPUT_ARCH(xtensa) | 21 | OUTPUT_ARCH(xtensa) |
21 | ENTRY(_start) | 22 | ENTRY(_start) |
22 | 23 | ||
@@ -26,7 +27,9 @@ jiffies = jiffies_64 + 4; | |||
26 | jiffies = jiffies_64; | 27 | jiffies = jiffies_64; |
27 | #endif | 28 | #endif |
28 | 29 | ||
30 | #ifndef KERNELOFFSET | ||
29 | #define KERNELOFFSET 0xd0001000 | 31 | #define KERNELOFFSET 0xd0001000 |
32 | #endif | ||
30 | 33 | ||
31 | /* Note: In the following macros, it would be nice to specify only the | 34 | /* Note: In the following macros, it would be nice to specify only the |
32 | vector name and section kind and construct "sym" and "section" using | 35 | vector name and section kind and construct "sym" and "section" using |