Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58217
b: refs/heads/master
c: 7b9c7b4
h: refs/heads/master
i:
  58215: a82a8b3
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jul 4, 2007
1 parent 61ca7b1 commit 608c8ab
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: 1f750a782c0e9593a8d0981ea972f22334980955
refs/heads/master: 7b9c7b4d07fd8981193a2c4ecb650566f42d1219
4 changes: 2 additions & 2 deletions trunk/arch/arm/mm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,9 @@ void __init create_mapping(struct map_desc *md)
return;
}

addr = md->virtual;
addr = md->virtual & PAGE_MASK;
phys = (unsigned long)__pfn_to_phys(md->pfn);
length = PAGE_ALIGN(md->length);
length = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK));

if (type->prot_l1 == 0 && ((addr | phys | length) & ~SECTION_MASK)) {
printk(KERN_WARNING "BUG: map for 0x%08lx at 0x%08lx can not "
Expand Down

0 comments on commit 608c8ab

Please sign in to comment.