]> asedeno.scripts.mit.edu Git - linux.git/commit
MIPS: SGI-IP27: move registering of smp ops into IP27 specific code
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Tue, 22 Oct 2019 16:13:12 +0000 (18:13 +0200)
committerPaul Burton <paulburton@kernel.org>
Thu, 24 Oct 2019 04:10:31 +0000 (21:10 -0700)
commitc823f416097879515a02f3d97aecc1204ffc0773
tree17fbb5c6e8747cb3460efd0a770a66d969f0cec4
parent249be5633cdb31d8daf01326b3bf02733d7d7e9a
MIPS: SGI-IP27: move registering of smp ops into IP27 specific code

Calling register_smp_ops() in plat_mem_setup() is still early enough.
So by doing this we could remove the ugly #ifdef CONFIG_SGI_IP27 in
fw/arc/init.c.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/fw/arc/init.c
arch/mips/sgi-ip27/ip27-common.h
arch/mips/sgi-ip27/ip27-init.c