diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-02-22 23:06:55 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-03-21 13:27:46 +0000 |
commit | 8145095cd8fd466980ea6401f26a52e462275222 (patch) | |
tree | c6f8642c2137f5fb053f018185cfd15ff7a34c00 /arch/mips/kernel | |
parent | 219ac73a7ad17a3ae3d5c07b4fc8c280645a073a (diff) | |
download | kernel_samsung_tuna-8145095cd8fd466980ea6401f26a52e462275222.zip kernel_samsung_tuna-8145095cd8fd466980ea6401f26a52e462275222.tar.gz kernel_samsung_tuna-8145095cd8fd466980ea6401f26a52e462275222.tar.bz2 |
[MIPS] Remove CONFIG_BUILD_ELF64.
This option is no longer usable with supported compilers. It will be
replaced by usage of -msym32 in a separate patch.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/setup.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index d9293c5..0cb3b60 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -447,21 +447,10 @@ static inline void resource_init(void) { int i; -#if defined(CONFIG_64BIT) && !defined(CONFIG_BUILD_ELF64) - /* - * The 64bit code in 32bit object format trick can't represent - * 64bit wide relocations for linker script symbols. - */ - code_resource.start = CPHYSADDR(&_text); - code_resource.end = CPHYSADDR(&_etext) - 1; - data_resource.start = CPHYSADDR(&_etext); - data_resource.end = CPHYSADDR(&_edata) - 1; -#else code_resource.start = virt_to_phys(&_text); code_resource.end = virt_to_phys(&_etext) - 1; data_resource.start = virt_to_phys(&_etext); data_resource.end = virt_to_phys(&_edata) - 1; -#endif /* * Request address space for all standard RAM. |