MIPS: NL: Fix nlm_xlp_defconfig build error
authorGuenter Roeck <[email protected]>
Sat, 9 Aug 2014 17:54:03 +0000 (10:54 -0700)
committerRalf Baechle <[email protected]>
Tue, 26 Aug 2014 00:18:55 +0000 (02:18 +0200)
commit4a2083f004210b526137e05677623344ad154556
treed185f04074e0f7aaf40b24821d480333bc043204
parent4b34cdde9074b593d5bb82aa3d79b0f73c808889
MIPS: NL: Fix nlm_xlp_defconfig build error

The nlm_xlp_defconfig build fails with

./arch/mips/include/asm/mach-netlogic/topology.h:15:0:
error: "topology_core_id" redefined [-Werror]
In file included from include/linux/smp.h:59:0,
[ ...]
                 from arch/mips/mm/dma-default.c:12:
./arch/mips/include/asm/smp.h:41:0:
note: this is the location of the previous definition

and similar errors.

This is caused by commit bda4584cd943d7 ("MIPS: Support CPU topology files
in sysfs") which adds the defines to arch/mips/include/asm/smp.h.

Remove the defines from arch/mips/include/asm/mach-netlogic/topology.h
as no longer necessary.

Signed-off-by: Guenter Roeck <[email protected]>
Cc: Huacai Chen <[email protected]>
Cc: Andreas Herrmann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/7513/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/include/asm/mach-netlogic/topology.h