diff options
author | Nathan Lynch <ntl@pobox.com> | 2008-07-15 19:58:51 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-25 01:44:39 -0400 |
commit | 9115d13453dee22473a1e8cacc90a8d64a9c4bc9 (patch) | |
tree | dc6c7b1aad8861ae5f88aaf496fd634338686330 /include/asm-powerpc/cputable.h | |
parent | 483fad1c3fa1060d7e6710e84a065ad514571739 (diff) |
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>
Diffstat (limited to 'include/asm-powerpc/cputable.h')
-rw-r--r-- | include/asm-powerpc/cputable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h index 2a3e9075a5a0..ef8a248dfd55 100644 --- a/include/asm-powerpc/cputable.h +++ b/include/asm-powerpc/cputable.h | |||
@@ -127,6 +127,8 @@ extern struct cpu_spec *identify_cpu(unsigned long offset, unsigned int pvr); | |||
127 | extern void do_feature_fixups(unsigned long value, void *fixup_start, | 127 | extern void do_feature_fixups(unsigned long value, void *fixup_start, |
128 | void *fixup_end); | 128 | void *fixup_end); |
129 | 129 | ||
130 | extern const char *powerpc_base_platform; | ||
131 | |||
130 | #endif /* __ASSEMBLY__ */ | 132 | #endif /* __ASSEMBLY__ */ |
131 | 133 | ||
132 | /* CPU kernel features */ | 134 | /* CPU kernel features */ |