MIPS: Move CPU topology macros to topology.h
authorHuacai Chen <chenhc@lemote.com>
Tue, 26 Aug 2014 06:41:31 +0000 (14:41 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 27 Aug 2014 11:44:44 +0000 (13:44 +0200)
commitdc578706c43fafb628ea2f23d44e8adb247fc60d
tree8b92b6af184913edaccd8a98cb1bc30afc3108c0
parent42944521af97a3b25516f15f3149aec3779656dc
MIPS: Move CPU topology macros to topology.h

The correct position is topology.h, and this fix macros redefinition
problems for Netlogic.

[ralf@linux-mips.org: Fix build - the original patch broke most
configurations.]

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: Jayachandran C. <jchandra@broadcom.com>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/7575/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/smp.h
arch/mips/include/asm/topology.h