[MIPS] Add topology_init.
authorRojhalat Ibrahim <imr@rtschenk.de>
Mon, 20 Feb 2006 13:35:27 +0000 (13:35 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 21 Feb 2006 16:58:23 +0000 (16:58 +0000)
commit1e35aabab82f8a6f7ab884b642e68be260f92f2c
tree0daef6084bb1b35f40d129245579dc358df480fb
parent76e1daee7db153400aaed55646e05a312da353b3
[MIPS] Add topology_init.

A recent patch introduced cpu topology in sysfs.  When you run a kernel
with SMP and sysfs enabled, you now get an Oops on boot. The following
patch fixes that by adding topology_init to arch/mips/kernel/smp.c. The
code is copied from arch/s390/kernel/smp.c.

Signed-off-by: Rojhalat Ibrahim <imr@rtschenk.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp.c