diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 17:19:13 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 17:19:13 +0900 |
commit | e7f93a355c7e32c26eab8910cf53b7506bb046c5 (patch) | |
tree | 0f4f2e60423a2c4c70134e6734b57b97e277af65 /arch/sh/kernel | |
parent | adf1890b0cd63f754b2171b73e4d845c0950d407 (diff) | |
download | op-kernel-dev-e7f93a355c7e32c26eab8910cf53b7506bb046c5.zip op-kernel-dev-e7f93a355c7e32c26eab8910cf53b7506bb046c5.tar.gz |
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')
-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 3f3e1e0..eb860c5 100644 --- a/arch/sh/kernel/vmlinux.lds.S +++ b/arch/sh/kernel/vmlinux.lds.S @@ -13,7 +13,7 @@ OUTPUT_ARCH(sh) ENTRY(_start) SECTIONS { - . = 0x80000000 + CONFIG_MEMORY_START + CONFIG_ZERO_PAGE_OFFSET; + . = CONFIG_PAGE_OFFSET + CONFIG_MEMORY_START + CONFIG_ZERO_PAGE_OFFSET; _text = .; /* Text and read-only data */ text = .; /* Text and read-only data */ .empty_zero_page : { |