Skip to content
Commit f6771dbb authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[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: default avatarRalf Baechle <ralf@linux-mips.org>
parent efb9ca08
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment