OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MIPS: Replace use of phys_t with phys_addr_t.
[uclinux-h8/linux.git]
/
arch
/
mips
/
alchemy
/
common
/
setup.c
diff --git
a/arch/mips/alchemy/common/setup.c
b/arch/mips/alchemy/common/setup.c
index
a97707e
..
4e72daf
100644
(file)
--- a/
arch/mips/alchemy/common/setup.c
+++ b/
arch/mips/alchemy/common/setup.c
@@
-72,7
+72,7
@@
void __init plat_mem_setup(void)
#if defined(CONFIG_PHYS_ADDR_T_64BIT) && defined(CONFIG_PCI)
/* This routine should be valid for all Au1x based boards */
#if defined(CONFIG_PHYS_ADDR_T_64BIT) && defined(CONFIG_PCI)
/* This routine should be valid for all Au1x based boards */
-phys_
t __fixup_bigphys_addr(phys_t phys_addr, phys
_t size)
+phys_
addr_t __fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr
_t size)
{
unsigned long start = ALCHEMY_PCI_MEMWIN_START;
unsigned long end = ALCHEMY_PCI_MEMWIN_END;
{
unsigned long start = ALCHEMY_PCI_MEMWIN_START;
unsigned long end = ALCHEMY_PCI_MEMWIN_END;
@@
-83,7
+83,7
@@
phys_t __fixup_bigphys_addr(phys_t phys_addr, phys_t size)
/* Check for PCI memory window */
if (phys_addr >= start && (phys_addr + size - 1) <= end)
/* Check for PCI memory window */
if (phys_addr >= start && (phys_addr + size - 1) <= end)
- return (phys_t)(AU1500_PCI_MEM_PHYS_ADDR + phys_addr);
+ return (phys_
addr_
t)(AU1500_PCI_MEM_PHYS_ADDR + phys_addr);
/* default nop */
return phys_addr;
/* default nop */
return phys_addr;