|
@@ -71,7 +71,7 @@ int __hash_page_thp(unsigned long ea, unsigned long access, unsigned long vsid,
|
|
*/
|
|
*/
|
|
shift = mmu_psize_defs[psize].shift;
|
|
shift = mmu_psize_defs[psize].shift;
|
|
index = (ea & ~HPAGE_PMD_MASK) >> shift;
|
|
index = (ea & ~HPAGE_PMD_MASK) >> shift;
|
|
- BUG_ON(index >= 4096);
|
|
|
|
|
|
+ BUG_ON(index >= PTE_FRAG_SIZE);
|
|
|
|
|
|
vpn = hpt_vpn(ea, vsid, ssize);
|
|
vpn = hpt_vpn(ea, vsid, ssize);
|
|
hpte_slot_array = get_hpte_slot_array(pmdp);
|
|
hpte_slot_array = get_hpte_slot_array(pmdp);
|