MIPS: BMIPS: Fill in current_cpu_data.core
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 4 Feb 2016 02:14:53 +0000 (18:14 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 9 May 2016 10:00:01 +0000 (12:00 +0200)
commitf6cc0ee98b230b085e019f0c791af68a4f99e446
tree2bba357abcefa1607007df26d9d0bd200b47985a
parent904c3b4952fff6d9d7a5e26b27d4a194b8f538d4
MIPS: BMIPS: Fill in current_cpu_data.core

Read the core ID in bmips_smp_finish() for BMIPS5000 CPUs to get appropriate
processor parenting in set_cpu_sibling_map().

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: john@phrozen.org
Cc: cernekee@gmail.com
Cc: jon.fraser@broadcom.com
Cc: jaedon.shin@gmail.com
Cc: dragan.stancevic@gmail.com
Cc: jogo@openwrt.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12380/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp-bmips.c