commit | 1e031d65b0cb5f882b20ebc356ea0345ff18dbf0 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Jul 04 14:09:36 2006 +1000 |
committer | Paul Mackerras <paulus@samba.org> | Fri Jul 07 20:19:15 2006 +1000 |
tree | 71e14bb61e74237ed1246e00994e1836787612fe | |
parent | 470407a88e549135dce5fba7d86fb9910f500e56 [diff] |
[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 <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>