]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Allow the auxv's elf_platform entry to be set.
authorDavid Daney <ddaney@caviumnetworks.com>
Fri, 29 Jan 2010 00:52:12 +0000 (16:52 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:20 +0000 (12:53 +0100)
commit040a1f536a1a8c3c3e77a1034d2660c5c76e4698
tree667316d08ee5b5b4be99e75dca7bcf9ff315503a
parent0f3e7f78b7ad07726869339ba891dfeadfa83970
MIPS: Allow the auxv's elf_platform entry to be set.

The userspace runtime linker uses the elf_platform to find the libraries
optimized for the current CPU archecture variant.  First we need to allow it
to be set to something other than NULL.  Follow-on patches will set some
values for specific CPUs.

GLIBC already does the right thing.  The kernel just needs to supply good
data.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/891/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/elf.h
arch/mips/kernel/cpu-probe.c