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.19-rc1~1300^2~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e031d65b0cb5f882b20ebc356ea0345ff18dbf0;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