No point in checking cpu_has_tlb before we've computed the CPU options.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 6 May 2005 14:31:13 +0000 (14:31 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:13 +0000 (19:31 +0100)
commitb382fe848345fe626b74a559fa89d2d966d03b02
tree37218490821a823b85424c7718d18c6910c8a7f3
parent4194318c3941fa9cfaa63dfdab9054fcae5e08d3
No point in checking cpu_has_tlb before we've computed the CPU options.
So for now we just unconditionally set the option - Linux wouldn't
work without a TLB anyway.

Setting MIPS_CPU_4KTLB was missing for Alchemy and Sandcraft, add that
back.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cpu-probe.c