diff options
| author | 2006-07-04 14:09:36 +1000 | |
|---|---|---|
| committer | 2006-07-26 01:27:04 +1000 | |
| commit | 8cffc6ac66a2b251df2490702923611aa4ac1fc5 (patch) | |
| tree | 7ae7509d009739702cab10441a61c4c36c5913a8 /arch/powerpc/kernel/sysfs.c | |
| parent | [POWERPC] Fix 32 bits warning in prom_init.c (diff) | |
| download | wireguard-linux-8cffc6ac66a2b251df2490702923611aa4ac1fc5.tar.xz wireguard-linux-8cffc6ac66a2b251df2490702923611aa4ac1fc5.zip | |
[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>
Diffstat (limited to 'arch/powerpc/kernel/sysfs.c')
0 files changed, 0 insertions, 0 deletions
