change macro name: PF_DONTCOW --> PF_POPULATE

refs #18
This commit is contained in:
NAKAMURA Gou
2014-04-11 17:04:15 +09:00
parent cc8317643e
commit 604d1da50f
2 changed files with 3 additions and 3 deletions

View File

@@ -1304,7 +1304,7 @@ static int do_page_fault_process(struct process *proc, void *fault_addr0, uint64
goto out;
}
}
else if (reason & PF_DONTCOW) {
else if (reason & PF_POPULATE) {
pte_t *ptep;
void *ptepgaddr;
size_t ptepgsize;
@@ -1652,7 +1652,7 @@ void free_process_memory(struct process *proc)
int populate_process_memory(struct process *proc, void *start, size_t len)
{
int error;
const int reason = PF_USER | PF_DONTCOW;
const int reason = PF_USER | PF_POPULATE;
uintptr_t end;
uintptr_t addr;