MIPS: Probe for presence of KScratch registers.
commite77c32fe284a4da1b4e0994890a4d3527812eb61
authorDavid Daney <ddaney@caviumnetworks.com>
Tue, 21 Dec 2010 22:19:09 +0000 (21 14:19 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 18 Jan 2011 18:30:22 +0000 (18 19:30 +0100)
tree8bff97f0aeb8ce4ba0bf4af92f798e06b66f6e9f
parent487d70d0b8bd1c70d099a7526077ffefee412050
MIPS: Probe for presence of KScratch registers.

Probe c0_config4 for KScratch registers and report them in /proc/cpuinfo.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1877/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cpu-info.h
arch/mips/kernel/cpu-probe.c
arch/mips/kernel/proc.c