]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Netlogic: Fix TLB size of boot CPU.
authorJayachandran C <jayachandranc@netlogicmicro.com>
Tue, 3 Jul 2012 17:04:02 +0000 (19:04 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 3 Jul 2012 17:04:02 +0000 (19:04 +0200)
commit9b1d9bfa8fc83e80a03ea9118bb66c8c313acc3d
tree2c6b13b34c2f7c9ae1b80c1fb56f59826ab90244
parentce0d6b8fbf7d29b83bb72f2a6ecb37cb1352905d
MIPS: Netlogic: Fix TLB size of boot CPU.

Starting other threads in the core will change the number of
TLB entries of a CPU.  Re-calculate current_cpu_data.tlbsize
on the boot cpu after enabling and waking up other threads.

The secondary CPUs do not need this logic because the threads
are enabled on the secondary cores at wakeup and before cpu_probe.

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3751/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/netlogic/xlp/setup.c