MIPS: SGI-IP27: move IP27 specific macro to IP27 specific header file
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Thu, 9 Jan 2020 12:33:42 +0000 (13:33 +0100)
committerPaul Burton <paulburton@kernel.org>
Thu, 9 Jan 2020 23:29:53 +0000 (15:29 -0800)
commit58fd034db3a9bdd46052efebc45ffe9f130ea2b9
tree7c95831ff9288df41775d6d9404a6947eae78eaf
parent5388b58143eae288cb5dfbbf797beff50ff6567f
MIPS: SGI-IP27: move IP27 specific macro to IP27 specific header file

Extracting node id from HUB register is specific to IP27 alias SN0.
Move the macro definition to a SN0 header file.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/include/asm/mach-ip27/kernel-entry-init.h
arch/mips/include/asm/sn/sn0/hub.h