]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] Fix shadow register support.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 8 Nov 2007 18:02:29 +0000 (18:02 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 15 Nov 2007 23:21:49 +0000 (23:21 +0000)
commit4a528ec54fe616bbac581679d0931da748166f90
treeefec5eacc34a9e412a193a79d575cbf3b90acf23
parentc935cd854503257435963d6da2e148ad6222b3ee
[MIPS] Fix shadow register support.

Shadow register support would not possibly have worked on multicore
systems.  The support code for it was also depending not on MIPS R2 but
VSMP or SMTC kernels even though it makes perfect sense with UP kernels.

SR sets are a scarce resource and the expected usage pattern is that
users actually hardcode the register set numbers in their code.  So fix
the allocator by ditching it.  Move the remaining CPU probe bits into
the generic CPU probe.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/kernel/cpu-probe.c
arch/mips/kernel/proc.c
arch/mips/kernel/traps.c
include/asm-mips/cpu-info.h