Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85975
b: refs/heads/master
c: 8e31c2a
h: refs/heads/master
i:
  85973: 5bfbf27
  85971: c3773a8
  85967: 15a5a7b
v: v3
  • Loading branch information
Andi Kleen authored and Ingo Molnar committed Feb 19, 2008
1 parent 55581e1 commit 5214507
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: aa65af3f92da39a686c8a3479426d15854fa27ab
refs/heads/master: 8e31c2ac1101b09ad6c6d3539b032d312cc3302b
5 changes: 0 additions & 5 deletions trunk/arch/x86/mm/pageattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,6 @@ static int __change_page_attr(struct cpa_data *cpa, int primary)
unsigned long address = cpa->vaddr;
int do_split, err;
unsigned int level;
struct page *kpte_page;
pte_t *kpte, old_pte;

repeat:
Expand All @@ -532,10 +531,6 @@ static int __change_page_attr(struct cpa_data *cpa, int primary)
return -EINVAL;
}

kpte_page = virt_to_page(kpte);
BUG_ON(PageLRU(kpte_page));
BUG_ON(PageCompound(kpte_page));

if (level == PG_LEVEL_4K) {
pte_t new_pte;
pgprot_t new_prot = pte_pgprot(old_pte);
Expand Down

0 comments on commit 5214507

Please sign in to comment.