MIPS: Move CPU topology macros to topology.h
authorHuacai Chen <[email protected]>
Tue, 26 Aug 2014 06:41:31 +0000 (14:41 +0800)
committerRalf Baechle <[email protected]>
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.

[[email protected]: Fix build - the original patch broke most
configurations.]

Signed-off-by: Huacai Chen <[email protected]>
Cc: Jayachandran C. <[email protected]>
Cc: John Crispin <[email protected]>
Cc: Steven J. Hill <[email protected]>
Cc: Aurelien Jarno <[email protected]>
Cc: [email protected]
Cc: Fuxin Zhang <[email protected]>
Cc: Zhangjin Wu <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/7575/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/include/asm/smp.h
arch/mips/include/asm/topology.h