diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-07-10 12:33:02 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-10 12:33:02 -0400 |
commit | a36920200c5b89d56120a5e839fe4a603d51b16c (patch) | |
tree | aefb1fc4b0792ef788024fa596954a5689f15d0a /arch/mips/kernel/cpu-probe.c | |
parent | d223a86154f8c66f5a380b17e1c8091d56f47cf8 (diff) |
[MIPS] Enable support for the userlocal hardware register
Which will cut down the cost of RDHWR $29 which is used to obtain the
TLS pointer and so far being emulated in software down to a single cycle
operation.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cpu-probe.c')
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index b12eeee0e974..27fc1843423e 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -588,6 +588,8 @@ static inline unsigned int decode_config3(struct cpuinfo_mips *c) | |||
588 | c->options |= MIPS_CPU_VEIC; | 588 | c->options |= MIPS_CPU_VEIC; |
589 | if (config3 & MIPS_CONF3_MT) | 589 | if (config3 & MIPS_CONF3_MT) |
590 | c->ases |= MIPS_ASE_MIPSMT; | 590 | c->ases |= MIPS_ASE_MIPSMT; |
591 | if (config3 & MIPS_CONF3_ULRI) | ||
592 | c->options |= MIPS_CPU_ULRI; | ||
591 | 593 | ||
592 | return config3 & MIPS_CONF_M; | 594 | return config3 & MIPS_CONF_M; |
593 | } | 595 | } |