diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 04:19:13 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 04:19:13 -0400 |
commit | e7f93a355c7e32c26eab8910cf53b7506bb046c5 (patch) | |
tree | 0f4f2e60423a2c4c70134e6734b57b97e277af65 /arch/sh/kernel/vmlinux.lds.S | |
parent | adf1890b0cd63f754b2171b73e4d845c0950d407 (diff) |
sh: Make PAGE_OFFSET configurable.
nommu needs to be able to shift PAGE_OFFSET, so we switch it to a
non-user-visible CONFIG_PAGE_OFFSET and use that in the few places
where it matters.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/sh/kernel/vmlinux.lds.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S index 3f3e1e0735f5..eb860c51c697 100644 --- a/arch/sh/kernel/vmlinux.lds.S +++ b/arch/sh/kernel/vmlinux.lds.S | |||
@@ -13,7 +13,7 @@ OUTPUT_ARCH(sh) | |||
13 | ENTRY(_start) | 13 | ENTRY(_start) |
14 | SECTIONS | 14 | SECTIONS |
15 | { | 15 | { |
16 | . = 0x80000000 + CONFIG_MEMORY_START + CONFIG_ZERO_PAGE_OFFSET; | 16 | . = CONFIG_PAGE_OFFSET + CONFIG_MEMORY_START + CONFIG_ZERO_PAGE_OFFSET; |
17 | _text = .; /* Text and read-only data */ | 17 | _text = .; /* Text and read-only data */ |
18 | text = .; /* Text and read-only data */ | 18 | text = .; /* Text and read-only data */ |
19 | .empty_zero_page : { | 19 | .empty_zero_page : { |