aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/cputable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 25a052c16754..25c273c761d1 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -1660,8 +1660,8 @@ struct cpu_spec * __init identify_cpu(unsigned long offset, unsigned int pvr)
1660 * Set the base platform string once; assumes 1660 * Set the base platform string once; assumes
1661 * we're called with real pvr first. 1661 * we're called with real pvr first.
1662 */ 1662 */
1663 if (powerpc_base_platform == NULL) 1663 if (*PTRRELOC(&powerpc_base_platform) == NULL)
1664 powerpc_base_platform = t->platform; 1664 *PTRRELOC(&powerpc_base_platform) = t->platform;
1665 1665
1666#if defined(CONFIG_PPC64) || defined(CONFIG_BOOKE) 1666#if defined(CONFIG_PPC64) || defined(CONFIG_BOOKE)
1667 /* ppc64 and booke expect identify_cpu to also call 1667 /* ppc64 and booke expect identify_cpu to also call