Unverified Commit 55c0f40d authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents cae1b447 4dc77102
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -383,14 +383,14 @@ pti_clone_pgtable(unsigned long start, unsigned long end,
			 */
			*target_pmd = *pmd;

			addr += PMD_SIZE;
			addr = round_up(addr + 1, PMD_SIZE);

		} else if (level == PTI_CLONE_PTE) {

			/* Walk the page-table down to the pte level */
			pte = pte_offset_kernel(pmd, addr);
			if (pte_none(*pte)) {
				addr += PAGE_SIZE;
				addr = round_up(addr + 1, PAGE_SIZE);
				continue;
			}

@@ -410,7 +410,7 @@ pti_clone_pgtable(unsigned long start, unsigned long end,
			/* Clone the PTE */
			*target_pte = *pte;

			addr += PAGE_SIZE;
			addr = round_up(addr + 1, PAGE_SIZE);

		} else {
			BUG();