Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182211
b: refs/heads/master
c: f54bcdc
h: refs/heads/master
i:
  182209: d7be022
  182207: 410141c
v: v3
  • Loading branch information
Geert Uytterhoeven committed Feb 27, 2010
1 parent ceb0f51 commit 76442c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 5da3a65d2d1ba333d61999640ef241f150c69c6b
refs/heads/master: f54bcdc2b81558a2b7e624cfeb4992422d9265f9
7 changes: 1 addition & 6 deletions trunk/arch/m68k/include/asm/virtconvert.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ static inline void *phys_to_virt(unsigned long address)
#define page_to_phys(page) \
__pa(PAGE_OFFSET + (((page) - pg_data_map[0].node_mem_map) << PAGE_SHIFT))
#else
#define page_to_phys(_page) ({ \
struct page *__page = _page; \
struct pglist_data *pgdat; \
pgdat = pg_data_table[page_to_nid(__page)]; \
page_to_pfn(__page) << PAGE_SHIFT; \
})
#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
#endif
#else
#define page_to_phys(page) (((page) - mem_map) << PAGE_SHIFT)
Expand Down

0 comments on commit 76442c1

Please sign in to comment.