summaryrefslogtreecommitdiffstats
path: root/arch/frv/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorDavid Howells2008-02-05 07:29:53 +0100
committerLinus Torvalds2008-02-05 18:44:20 +0100
commit7038220aa511131f348018b85df172a21476fef9 (patch)
tree5db462fef58448349701c1b9db4e4bf93dc848ad /arch/frv/kernel/vmlinux.lds.S
parentSmack: Simplified Mandatory Access Control Kernel (diff)
downloadkernel-qcow2-linux-7038220aa511131f348018b85df172a21476fef9.tar.gz
kernel-qcow2-linux-7038220aa511131f348018b85df172a21476fef9.tar.xz
kernel-qcow2-linux-7038220aa511131f348018b85df172a21476fef9.zip
FRV: permit the memory to be located elsewhere in NOMMU mode
Permit the memory to be located somewhere other than address 0xC0000000 in NOMMU mode. The configuration options are already present, it just requires wiring up in the linker script. Note that only a limited set of locations of runtime addresses are available because of the way the CPU protection registers work. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/frv/kernel/vmlinux.lds.S')
-rw-r--r--arch/frv/kernel/vmlinux.lds.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/frv/kernel/vmlinux.lds.S b/arch/frv/kernel/vmlinux.lds.S
index f42b328b1dd0..ef7527b8b0c7 100644
--- a/arch/frv/kernel/vmlinux.lds.S
+++ b/arch/frv/kernel/vmlinux.lds.S
@@ -13,7 +13,7 @@ ENTRY(_start)
jiffies = jiffies_64 + 4;
-__page_offset = 0xc0000000; /* start of area covered by struct pages */
+__page_offset = CONFIG_PAGE_OFFSET; /* start of area covered by struct pages */
__kernel_image_start = __page_offset; /* address at which kernel image resides */
SECTIONS