Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276144
b: refs/heads/master
c: 53cbcbc
h: refs/heads/master
v: v3
  • Loading branch information
Catalin Marinas authored and Russell King committed Nov 21, 2011
1 parent 7070f89 commit 012ef7b
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 1c8a7c1fbfc7ae2362d26559df26b99c806b68b5
refs/heads/master: 53cbcbcf4362ef39e0a692b1d23c395999397fca
2 changes: 1 addition & 1 deletion trunk/arch/arm/mm/dma-mapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ static int __init consistent_init(void)
pte_t *pte;
int i = 0;
unsigned long base = consistent_base;
unsigned long num_ptes = (CONSISTENT_END - base) >> PGDIR_SHIFT;
unsigned long num_ptes = (CONSISTENT_END - base) >> PMD_SHIFT;

consistent_pte = kmalloc(num_ptes * sizeof(pte_t), GFP_KERNEL);
if (!consistent_pte) {
Expand Down

0 comments on commit 012ef7b

Please sign in to comment.