Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127696
b: refs/heads/master
c: 7021d86
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Benjamin Herrenschmidt committed Jan 8, 2009
1 parent 0867f9b commit 8bb9fa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 02af87a74271977d09ece9b709909dcae3f9fab9
refs/heads/master: 7021d86afa6f3a8bf76218ac97f5847a6d985730
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/mm/pgtable_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ int map_page(unsigned long va, phys_addr_t pa, int flags)
/* The PTE should never be already set nor present in the
* hash table
*/
BUG_ON(pte_val(*pg) & (_PAGE_PRESENT | _PAGE_HASHPTE));
BUG_ON((pte_val(*pg) & (_PAGE_PRESENT | _PAGE_HASHPTE)) &&
flags);
set_pte_at(&init_mm, va, pg, pfn_pte(pa >> PAGE_SHIFT,
__pgprot(flags)));
}
Expand Down

0 comments on commit 8bb9fa0

Please sign in to comment.