Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198269
b: refs/heads/master
c: c6f6b59
h: refs/heads/master
i:
  198267: 74a657b
v: v3
  • Loading branch information
Chris Metcalf authored and Linus Torvalds committed May 25, 2010
1 parent 9cd00bc commit 5d0c4db
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: 4eaf3f64397c3db3c5785eee508270d62a9fabd9
refs/heads/master: c6f6b596a5a73e63e5e930c414375c0c389199ab
3 changes: 2 additions & 1 deletion trunk/include/linux/mm.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <linux/debug_locks.h>
#include <linux/mm_types.h>
#include <linux/range.h>
#include <linux/pfn.h>

struct mempolicy;
struct anon_vma;
Expand Down Expand Up @@ -595,7 +596,7 @@ static inline void set_page_links(struct page *page, enum zone_type zone,

static __always_inline void *lowmem_page_address(struct page *page)
{
return __va(page_to_pfn(page) << PAGE_SHIFT);
return __va(PFN_PHYS(page_to_pfn(page)));
}

#if defined(CONFIG_HIGHMEM) && !defined(WANT_PAGE_VIRTUAL)
Expand Down

0 comments on commit 5d0c4db

Please sign in to comment.