Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375757
b: refs/heads/master
c: 49c426b
h: refs/heads/master
i:
  375755: 5188530
v: v3
  • Loading branch information
David Daney authored and Ralf Baechle committed May 17, 2013
1 parent 06f07e5 commit d80d02a
Show file tree
Hide file tree
Showing 3 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: e84ff42500a2b909d8aaca9a6df84c0616df121f
refs/heads/master: 49c426ba445f83d304a5eab3d49efa123329cf2b
2 changes: 1 addition & 1 deletion trunk/arch/mips/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static inline void set_io_port_base(unsigned long base)
*/
static inline unsigned long virt_to_phys(volatile const void *address)
{
return (unsigned long)address - PAGE_OFFSET + PHYS_OFFSET;
return __pa(address);
}

/*
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/include/asm/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
#endif /* CONFIG_MIPS_HUGE_TLB_SUPPORT */

#include <linux/pfn.h>
#include <asm/io.h>

extern void build_clear_page(void);
extern void build_copy_page(void);
Expand Down Expand Up @@ -151,6 +150,7 @@ typedef struct { unsigned long pgprot; } pgprot_t;
((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET)
#endif
#define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - PHYS_OFFSET))
#include <asm/io.h>

/*
* RELOC_HIDE was originally added by 6007b903dfe5f1d13e0c711ac2894bdd4a61b1ad
Expand Down

0 comments on commit d80d02a

Please sign in to comment.