Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205493
b: refs/heads/master
c: 35be1b7
h: refs/heads/master
i:
  205491: 5a28766
v: v3
  • Loading branch information
Kenji Kaneshige authored and H. Peter Anvin committed Jul 9, 2010
1 parent c6cbc33 commit 560efd9
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: ffa71f33a820d1ab3f2fc5723819ac60fb76080b
refs/heads/master: 35be1b716a475717611b2dc04185e9d80b9cb693
2 changes: 1 addition & 1 deletion trunk/arch/x86/mm/ioremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static void __iomem *__ioremap_caller(resource_size_t phys_addr,
* Don't allow anybody to remap normal RAM that we're using..
*/
last_pfn = last_addr >> PAGE_SHIFT;
for (pfn = phys_addr >> PAGE_SHIFT; pfn < last_pfn; pfn++) {
for (pfn = phys_addr >> PAGE_SHIFT; pfn <= last_pfn; pfn++) {
int is_ram = page_is_ram(pfn);

if (is_ram && pfn_valid(pfn) && !PageReserved(pfn_to_page(pfn)))
Expand Down

0 comments on commit 560efd9

Please sign in to comment.