ARC: mm: compute TLB size as needed from ways * sets
authorVineet Gupta <vgupta@synopsys.com>
Fri, 2 Oct 2015 06:55:35 +0000 (12:25 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Sat, 17 Oct 2015 12:18:25 +0000 (17:48 +0530)
commitb598e17f6a7a3a9bb6e0953ef586ee3697b59fce
treebd1be6693296b7b36a4a65105b827f2becae5de6
parentc583ee4fb013bcf3501b9f10c252ea44cf7c657a
ARC: mm: compute TLB size as needed from ways * sets

This frees up some bits to hold more high level info such as PAE being
present, w/o increasing the size of already bloated cpuinfo struct

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/arcregs.h
arch/arc/mm/tlb.c