MIPS: Netlogic: Fix cop0 prid check in AHCI init
authorGanesan Ramalingam <ganesanr@broadcom.com>
Wed, 7 Jan 2015 11:28:24 +0000 (16:58 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:48 +0000 (17:21 +0200)
commit9bbc6c7d35e2b3370e5e447f3d165892882d35a8
treef7098410c4b4501d9b1f3d1c6b8f1c7f6c98ff13
parent8db23f7df6be572d816f0d056fec16c954d3bdf6
MIPS: Netlogic: Fix cop0 prid check in AHCI init

PRID register should be masked with IMP_MASK to get processor ID.

Signed-off-by: Ganesan Ramalingam <ganesanr@broadcom.com>
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8883/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/netlogic/xlp/ahci-init.c