Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5798
b: refs/heads/master
c: 75cd968
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Aug 16, 2005
1 parent 12fd579 commit fec33f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 3edea4833a1efcd43e1dff082bc8001fdfe74b34
refs/heads/master: 75cd968ab251ac84dd3a5dc252af7036dc4a64f4
4 changes: 2 additions & 2 deletions trunk/include/asm-um/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ extern void *to_virt(unsigned long phys);
* casting is the right thing, but 32-bit UML can't have 64-bit virtual
* addresses
*/
#define __pa(virt) to_phys((void *) (unsigned long) virt)
#define __va(phys) to_virt((unsigned long) phys)
#define __pa(virt) to_phys((void *) (unsigned long) (virt))
#define __va(phys) to_virt((unsigned long) (phys))

#define page_to_pfn(page) ((page) - mem_map)
#define pfn_to_page(pfn) (mem_map + (pfn))
Expand Down

0 comments on commit fec33f6

Please sign in to comment.