Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80461
b: refs/heads/master
c: 6ba9b7d
h: refs/heads/master
i:
  80459: 71dc393
v: v3
  • Loading branch information
Andi Kleen authored and Ingo Molnar committed Jan 30, 2008
1 parent f30c5f2 commit 9b3a7ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aaa0e89023656c078c67cbd0460fc2ccbf3323c6
refs/heads/master: 6ba9b7d8f0fe786954015ce5c0ef1837d5df56b7
4 changes: 2 additions & 2 deletions trunk/arch/x86/mm/pageattr-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ static __init int exercise_pageattr(void)
continue;
}

err = change_page_attr(virt_to_page(addr[i]), len[i],
err = change_page_attr_addr(addr[i], len[i],
pte_pgprot(pte_clrhuge(pte_clrglobal(pte0))));
if (err < 0) {
printk(KERN_ERR "CPA %d failed %d\n", i, err);
Expand Down Expand Up @@ -212,7 +212,7 @@ static __init int exercise_pageattr(void)
failed++;
continue;
}
err = change_page_attr(virt_to_page(addr[i]), len[i],
err = change_page_attr_addr(addr[i], len[i],
pte_pgprot(pte_mkglobal(*pte)));
if (err < 0) {
printk(KERN_ERR "CPA reverting failed: %d\n", err);
Expand Down

0 comments on commit 9b3a7ed

Please sign in to comment.