Add POWER7+ and POWER8 to the list of CPUs with 32 SLB slots. This is

mostly a no-op since all currently-supported instances of these CPUs give
the number of SLB slots in the device tree, but keep it here as well just
in case.
This commit is contained in:
Nathan Whitehorn 2015-01-21 19:11:15 +00:00
parent 7a28efd9ee
commit 88a6aee146

View file

@ -394,6 +394,9 @@ powerpc_init(vm_offset_t fdt, vm_offset_t toc, vm_offset_t ofentry, void *mdp)
break;
#ifdef __powerpc64__
case IBMPOWER7:
case IBMPOWER7PLUS:
case IBMPOWER8:
case IBMPOWER8E:
/* XXX: get from ibm,slb-size in device tree */
n_slbs = 32;
break;