Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 335794
b: refs/heads/master
c: 498c228
h: refs/heads/master
v: v3
  • Loading branch information
Will Deacon authored and Linus Torvalds committed Nov 16, 2012
1 parent a142deb commit 1ffbc7d
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: 96710098ee124951ff2fed7cd8406da92aad011a
refs/heads/master: 498c2280212327858e521e9d21345d4cc2637f54
2 changes: 1 addition & 1 deletion trunk/mm/highmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ struct page *kmap_to_page(void *vaddr)
{
unsigned long addr = (unsigned long)vaddr;

if (addr >= PKMAP_ADDR(0) && addr <= PKMAP_ADDR(LAST_PKMAP)) {
if (addr >= PKMAP_ADDR(0) && addr < PKMAP_ADDR(LAST_PKMAP)) {
int i = (addr - PKMAP_ADDR(0)) >> PAGE_SHIFT;
return pte_page(pkmap_page_table[i]);
}
Expand Down

0 comments on commit 1ffbc7d

Please sign in to comment.