MIPS: BMIPS: Fix missing cbr address
authorJaedon Shin <jaedon.shin@gmail.com>
Fri, 16 Jun 2017 11:03:01 +0000 (20:03 +0900)
committerJames Hogan <jhogan@kernel.org>
Tue, 7 Nov 2017 21:28:19 +0000 (21:28 +0000)
commitea4b3afe1eac8f88bb453798a084fba47a1f155a
tree2a60f2dd86a21d54a8f01b2bbb78d5cf28ec6b6e
parent39dae59d66acd86d1de24294bd2f343fd5e7a625
MIPS: BMIPS: Fix missing cbr address

Fix NULL pointer access in BMIPS3300 RAC flush.

Fixes: 738a3f79027b ("MIPS: BMIPS: Add early CPU initialization code")
Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org> # 4.7+
Patchwork: https://patchwork.linux-mips.org/patch/16423/
Signed-off-by: James Hogan <jhogan@kernel.org>
arch/mips/kernel/smp-bmips.c