From: Benjamin Herrenschmidt Date: Tue, 4 Jul 2006 04:09:36 +0000 (+1000) Subject: [POWERPC] Fix non-MPIC CHRPs with CONFIG_SMP set X-Git-Tag: v2.6.18-rc4~73^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cffc6ac66a2b251df2490702923611aa4ac1fc5;p=pandora-kernel.git [POWERPC] Fix non-MPIC CHRPs with CONFIG_SMP set Pseudo-CHRP machines like Pegasos without an MPIC would crash at boot if CONFIG_SMP was set because the "smp_ops" pointer was set to MPIC related ops unconditionally. This patch makes it NULL on machines that don't support SMP and provides proper default behaviour in the callers when smp_ops is NULL. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed