powerpc: Enable AT_BASE_PLATFORM aux vector
authorNathan Lynch <ntl@pobox.com>
Tue, 15 Jul 2008 23:58:51 +0000 (09:58 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 25 Jul 2008 05:44:39 +0000 (15:44 +1000)
commit9115d13453dee22473a1e8cacc90a8d64a9c4bc9
treedc6c7b1aad8861ae5f88aaf496fd634338686330
parent483fad1c3fa1060d7e6710e84a065ad514571739
powerpc: Enable AT_BASE_PLATFORM aux vector

Stash the first platform string matched by identify_cpu() in
powerpc_base_platform, and supply that to the ELF loader for the value
of AT_BASE_PLATFORM.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/cputable.c
include/asm-powerpc/cputable.h
include/asm-powerpc/elf.h