]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/kernel/cputable.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6
[karo-tx-linux.git] / arch / powerpc / kernel / cputable.c
index 25a052c16754349c2e5e91ffc4c3b3dac9c7e2bf..25c273c761d19855f2d8861720c24f7cb095bb2f 100644 (file)
@@ -1660,8 +1660,8 @@ struct cpu_spec * __init identify_cpu(unsigned long offset, unsigned int pvr)
                         * Set the base platform string once; assumes
                         * we're called with real pvr first.
                         */
-                       if (powerpc_base_platform == NULL)
-                               powerpc_base_platform = t->platform;
+                       if (*PTRRELOC(&powerpc_base_platform) == NULL)
+                               *PTRRELOC(&powerpc_base_platform) = t->platform;
 
 #if defined(CONFIG_PPC64) || defined(CONFIG_BOOKE)
                        /* ppc64 and booke expect identify_cpu to also call